• Python

October 15, 2021, at 06:40 AM

Imagine an employee that has worked for different companies and you want to know how many months he worked for each companyThe problem is that he may have worked for two companies, overlapping some time (case of companies D and C)

October 13, 2021, at 3:50 PM

Set operations of a separately pickled objects are significantly slower than set operations of normal objects, or jointly pickled object

October 12, 2021, at 03:30 AM

the main problem is here with this part of the code:

October 10, 2021, at 9:50 PM

I use django for a projectUsers can make exchanges

October 09, 2021, at 5:30 PM

I am trying to create mutliple horizontal barplots for a datasetThe data deals with race times from a running race

October 08, 2021, at 11:40 AM

So the problem can be seen by looking at the image below

October 06, 2021, at 01:10 AM

I am trying to build a loan default prediction model, there is imbalanced dataset (binary)

October 03, 2021, at 11:40 AM

I have written a function which asks a user for column name (ex'Age') or column number (0, 1,

October 01, 2021, at 10:20 PM

I am new to Stackoverflow, but I have a question regarding the use of a stop buttonSo for an experiment I have to set up and X/Y stage that works by using two stepper motors

September 28, 2021, at 10:50 PM

I have produced a graph in python using plotly that displays the server patch times for our departmentThe graph should display each server with its start and end time on the x-axis plotted against the day on the y-axis

September 27, 2021, at 4:20 PM

I read all the questions that had anything related to what I am trying to achieve, but still no luckThe one that did help me a little is this one How to filter JSON Array in Django JSONField but I still need something extra

September 26, 2021, at 12:10 PM

September 25, 2021, at 03:10 AM

Im trying to build a password reset system using the default django librariesThe problem is after trying to enter the site which is for changing it (PasswordChangeConfirm) this error trace appears

September 23, 2021, at 11:10 PM

I have tried to fix this error but I can't

September 22, 2021, at 1:00 PM

I am trying to map a particular cell of a bank statement into data frameWhen I locate the value it is reading values perfectly, but when I include it into a dataframe it is coming 'NaN'

September 21, 2021, at 04:50 AM

I am currently making a discord bot in pythonI am relatively new and have no idea how to fix this error

September 19, 2021, at 6:20 PM

Want to improve this question? Update the question so it focuses on one problem only by editing this post

September 18, 2021, at 1:10 PM

Trying to restore an s3 object from GLACIER with the code below

September 17, 2021, at 07:20 AM

I am working with models trained using the Tabular automl of Vertex in GCPTraining and batch predictions work fine

September 16, 2021, at 02:20 AM

I'm trying to filter laptop entries only from a list (productUrltxt) and save it in a seperate text file (laptop

September 14, 2021, at 9:00 PM

I'm messing with an earthquake post-FFT datasetI'm trying to do classification with these data and I'm facing an error in model fitting which said ValueError: setting an array element with a sequence

September 13, 2021, at 1:50 PM

If TestDate >= '2021-01-01', filter type of Type_One items, if TestDate < '2021-01-01' query type of Type_Two items, I use below python and Flask-SQLAlchemy to realize it, but it's ugly, how to optimize below code?

September 12, 2021, at 10:00 AM

I have a USB device connected to my computer, it is this one:

September 10, 2021, at 6:30 PM

Not sure if I am on a completely wrong track, but I want some kind of a temporary runtime variable/field in my Django modelCurrently I have this:

Show more
How to use $.when in node.js? [duplicate]

How to use $.when in node.js? [duplicate]

This question already has an answer here:.

Add node to Tree

Add node to Tree

I decided to use nested sets model. [nnn]My table has columns: id, name, lft, rgt, parent_id.

javascript/jquery: on click copy relevant array items to new array

javascript/jquery: on click copy relevant array items to new array

I think I'm missing an obvious answer. I have an array of arrays, like this.