All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
10 views

ValueError: Item wrong length 71163 instead of 891938

I am trying to loop over a df, but I keep getting the value error, my df is 71163 rows long, and im trying to make a list with the values lower than 10000 so that I can then count them. so far my code ...
0
votes
1answer
12 views

Is there an idiomatic way to cache Spark dataframes?

I have a large parquet dataset that I am reading with Spark. Once read, I filter for a subset of rows which are used in a number of functions that apply different transformations: The following is ...
0
votes
0answers
13 views

Cannot resolve method 'setEmail' in 'User' classes

I'm getting the following error : Cannot resolve method 'setEmail' in 'User' in AuthService.java . I try to add the constructor with parameters and it works. But why it doesn't work without ? Here the ...
0
votes
0answers
8 views

How to update AWS lambda docker container version?

My intension is to deploy a new container version to my AWS lambda. Lambda now offers docker run time and I have successfully updated the lambda docker container from the web console but not able to ...
0
votes
1answer
9 views

how to alert Error Messagen in Marketing form

i have a Marketing form and i need to change the display error message see Picture. my form : and I want That my error message be like This:
0
votes
0answers
3 views

I keep gettting an InFlateException error in my Wearable app

at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2914) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3049) at android.app....
0
votes
0answers
5 views

Pandas returns different datetime formats with iloc vs. with condition

I am struggling to get consistent datetime formatting out of a pandas array. I have a df with a calendar date colum of dtype datetime64[ns]. When I access the calendar date directly by iloc, say index ...
0
votes
1answer
6 views

nested for loop in a list of logical vectors R

I have a list of 4 logical vectors (mylist): list(a = c(NA, FALSE, FALSE, TRUE, FALSE, NA, NA, NA, FALSE, FALSE, FALSE, FALSE, NA, FALSE, NA, FALSE, FALSE, TRUE, TRUE, TRUE, TRUE, NA, FALSE, NA, ...
0
votes
0answers
5 views

How can I define a varialbe as mpvar in python using xpress?

I am trying to implement an optimization model usinf xpress as a library in Python. And one of my friends is using xpress' own language. We both implemented the same constraints. However our results ...
0
votes
0answers
6 views

Raspi Servo is jittery and moves back and forth when it should be still

(Sorry about formatting) I am trying to write an opencv program to track the color red. So far it works okay, but the servo is jittery and when the object is still and centre the servo moves back and ...
0
votes
0answers
5 views

Moq Extended Setup With Single shared Return

What I want to do is to define one or more Setup(s) to one Return call on multiple method calls of the mocked object; hence avoiding multiple single calls to do Setup().Return()s. The compiler ...
0
votes
0answers
10 views

what is the reason for this behaviour await is not working in ngOnInit?

if I am not subscribe this getCart() method await is working fine . Why await is not working if i subscribe this inside ngOnInit and means this result printed console.log("UTKARSH" +" &...
0
votes
0answers
6 views

How can you Interact and log in to the physical steam client using Python?

In summary; I want to be able to interact with a non-logged in steam client and log it in, and I dont want to use some type of Windows only interaction. I don't mean the SteamCLI, or logging into ...
0
votes
1answer
13 views

How to create a menu with links to display sub links in each of the main links on hover

I want to create a menu bar using links like the code below: <nav class="navigation-div"> <a href="index.html">HOME</a> <a href="about....
-1
votes
1answer
8 views

Running a php function in a new window when an option is chosen

<label>Choose a Pre-Defined Query:</label> <select id="Queries" name="Queries"> <option value="" selected disabled hidden>...

15 30 50 per page