Nineya
Home
Blog
Pandas Improve poor performance of groupby resampling
2025-02-10 00:54:03
7466
When trying to resample transactions data where there are infrequent transactions for a large number of people, I get ho...
Pandas groupby aggregate: class as arg value
2025-02-10 00:53:58
4424
Feature request: it would be nice if aggregate allowed classes as an argument, using its constructor as the function to ...
Pandas DatetimeIndex periods: Change in behavior between 0.17.1 and 0.18.0
2025-02-10 00:53:53
710
This is not necessarily a bug, but a change in behavior that could not find reported elsewhere.import pandas as pd,datet...
Pandas verbose = False cause to_gbq() to fail
2025-02-10 00:53:47
1148
total_rows is only set in to_gbq() if verbose = True. If verbose = False, it is reference before assignment.Code Sample...
Pandas Partial datetime indexing of Multiindex by year only
2025-02-10 00:53:41
10961
I have DataFrame:import pandas as pdimport numpy as nprng = pd.date_range('01-01-1988',periods=130000,freq='H')long_df =...
Pandas BUG/API PeriodIndex handles int list/array differently
2025-02-10 00:53:36
1319
When we pass a list of numbers, it parsed as date as it is. The same values is regarded as ordinal if it is passed as an...
Pandas BUG: dataframe concat method error when using join='inner'
2025-02-10 00:53:31
1488
Code Sample, a copy-pastable example if possibledf1 = pd.DataFrame(np.arange(9).reshape(3, 3), columns=['a', 'b', 'c'])d...
Pandas 0.18.1 to_csv ignoring columns argument
2025-02-10 00:53:27
377
The issue discussed here is occurring for me in 0.18.1: The columns optional argument of to_csv is being ignored.Comment...
Pandas tz_localize issue within DatetimeTZBlock
2025-02-10 00:53:21
2726
Using the .where operation on a localized DataFrame Column may raise an exception due to a failure to tz_localize the re...
Pandas BUG: Outer join on multiple date time columns results in nan keys
2025-02-10 00:53:16
5251
I have tried to reduce this problem as small as possible, two data frames attached each with 291 rows.pickles.zipdf1 = p...
Pandas proposal: new sorting order for columns
2025-02-10 00:53:11
1332
when I want to sort one of the columns with a specific order, there is the only way to do this right now. example, we ha...
Pandas BUG: Truncated "Y" conversion with to_timedelta
2025-02-10 00:53:06
3799
When converting a fractional year to a Timedelta object the float is truncated:print pd.to_timedelta(1., unit='Y')365 da...
Pandas Feature request: Save Jupyter rendering of pd.DataFrame as a .png or .pdf
2025-02-10 00:53:01
1205
I've been screenshotting the dataframes from Jupyter in my notes but it would be really cool if you could save the actua...
Pandas wrong addition between Series of type datetime64 and timedelta when tz is set and different from UTC
2025-02-10 00:52:55
2848
It seems there is an issue when adding a timedelta to a Series of type datetime64[ns, some tz]. There seems to be an iss...
Pandas 'items' can not be the column name of a DataFrame?
2025-02-10 00:52:50
1191
Code Sample, a copy-pastable example if possibledf = pd.DataFrame({'items':[1,2,3], 'test': [2,3,4]})df.itemsExpected Ou...
Pandas BUG: Kernel crashing when using shift with groupby when there are NaNs in group column
2025-02-10 00:52:44
1990
Sometimes when shifting a variable by groups, if there are NaNs in the group column, it crashes my kernel. Sometimes the...
Pandas Is it normal that iloc is very slow when iterating?
2025-02-10 00:52:37
1736
I'm honestly not sure if that is to be expected or if it's a general issue. It is a problem when doing row comparisons t...
Pandas df.sort_values by 2 columns does not work in py3.5.1 but work in py2?
2025-02-10 00:52:31
2723
Code Sample, a copy-pastable example if possibleThe code above works in py2 but not works in py3.Expected Outputshould g...
Pandas newey west weight is always 0
2025-02-10 00:52:22
1030
In the newey_west function in pandas.stats.math, the weight variable is always gonna be 0, since max_lags and lag are bo...
Pandas DataFrame.update() changes type of boolean column to Object.
2025-02-10 00:52:17
2059
After applying DataFrame.update() on a DataFrame that has boolean column the type of that column changes to Object and f...
上一页
下一页
1
…
71
72
73
74
75
…
2246
.