Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

I am trying to convert a column of pd.Timestamp objects into a columns of type str where the dates are encoded in ISO format. The class pd.Timestamp has the handy classmethod .isoformat() that does ...
SeF's user avatar
  • 4,299
0 votes
0 answers
28 views

When pandas.read_excel(), df.to_excel(), geopandas.read_file() and gdf.to_file() are called in a certain order in different environments, pd.read_excel() sometimes causes "Kernel has died" ...
Azrael_DD's user avatar
  • 281
0 votes
1 answer
10 views

I am fairly new to Python, and I must have missed something essential because I'm seeing broken functionality all over Pint. I'm starting to think it all comes down to PintArray is not available to ...
sniffer's user avatar
0 votes
1 answer
54 views

I've been working on a project to learn python and play around with machine learning that uses data from the NHL's public API. I've been able to teach myself via documentation and google searches so ...
Matt's user avatar
  • 1,572
Tooling
1 vote
3 replies
49 views

I have a column named ride_length that is the difference between two datetime columns. It has a data type of time delta series. How can I convert it into a time data type? Current format 1 day 12:58:...
Abira Munir's user avatar
1 vote
1 answer
61 views

I am trying to convert a column of time stamps that are currently of type object to proper datetime. When using pd.to_datetime() on the column I got this error OutOfBoundsDatetime: Out of bounds ...
MikeB2019x's user avatar
  • 1,307
5 votes
2 answers
106 views

I've been experimenting with pandas for my data analysis, however I encountered an issue when dealing with .groupby() and .transform() . Let this be the dataframe: df = pd.DataFrame({ 'group': ['x'...
HTP_1's user avatar
  • 53
1 vote
3 answers
67 views

Amateur programmer here, trying to make my working life bette. I am building a billing program, using selenium webdriver, to facilitate people entering their information into the more complex web-...
Gabriel Dubé's user avatar
-1 votes
1 answer
68 views

I have the following (shortened) list of data (State Vector for an arbitrary satellite): 0.0000000000000000e+00 6.0513311190355308e+06 -2.3889553726207524e-10 -3.9014601994371545e+06 4....
Jon S's user avatar
  • 63
2 votes
4 answers
111 views

I’m working with a large pandas DataFrame (~5 million rows, ~40 columns). When I try operations like: df = df.fillna(0) # or df = df.dropna() my RAM usage spikes and sometimes my Jupyter notebook ...
Sanjay D S's user avatar
2 votes
2 answers
73 views

I have a MultiIndex table as follows Index0 Index1 Variable A 0 "a" A 1 "x" A 2 "t" B 0 "x" B 1 ...
The Stackoverflow User's user avatar
-1 votes
0 answers
59 views

When I run this command on the virtual environment it gives this error. ninja: error: pandas/_libs/ops_dispatch.cp312-win_amd64.pyd.p/pandas/_libs/ops_dispatch.pyx.c.dep: no outputs declared ...
Sudam Ranasinghe's user avatar
-1 votes
0 answers
38 views

I'm writing some automated electrical tests for a piece of equipment and am trying to figure out a good way to continuously display the data to the user. The program will perform ~50 tests each with a ...
Robert Goodkin's user avatar
Best practices
1 vote
2 replies
59 views

I am trying to merge two pandas dataframes together that have a MultiIndex on the columns. This works as expected when there are no duplicate columns, however when there are duplicate columns, it ...
Simon Pratt's user avatar
0 votes
0 answers
23 views

I've noticed that Facebook's Prophet function does a good job with forecasting. However, for my data, it never starts at the last value of y-predict. As you can see in the image, the last value of ...
Gustav Matsson's user avatar

15 30 50 per page
1
2 3 4 5
19283