Pandas Improve poor performance of groupby resampling

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

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

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

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

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

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'

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

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

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

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

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

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

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

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?

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

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?

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?

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

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.

After applying DataFrame.update() on a DataFrame that has boolean column the type of that column changes to Object and f...
上一页 下一页
.