Pandas ENH date_range should accept dateutil frequency constants

Currently date_range accepts string flags for freq=.dateutil (which is already a pandas dependency) has constants for YE...

Pandas BUG: interchange protocol doesn't work with offsets

Pandas version checks[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exis...

Pandas BUG: interchange bitmasks not supported in interchange/from_dataframe.py

Pandas version checks[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exis...

Pandas groupby.nth() labelling conventions changed from 0.17 -> 0.18

In pandas 0.17.1, grouping a DatetimeIndex with monthly frequency produced labels keyed at the start of the month, and n...

Pandas BUG: sum() and mean() return wrong values when applied to integers as strings

[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exists on the latest vers...

Pandas BUG: Series / DataFrame reductions convert string data to numeric

[x] I have checked that this issue has not already been reported.[x] I have confirmed this bug exists on the latest vers...

Pandas BUG: String upgraded to complex128 (and cascading to other columns) in df.mean() and df.agg('mean')

[x] I have checked that this issue has not already been reported.[x] I have confirmed this bug exists on the latest vers...

Pandas BUG: GroupBy.apply doesn't add group keys to index whether setting group_keys=True or not.

[x] I have checked that this issue has not already been reported.[x] I have confirmed this bug exists on the latest vers...

Pandas BUG: first(’1H’) gives KeyError: Timestamp('2022-01-01 01:00:00') when it should select first 4 rows

Pandas version checks[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exis...

Pandas BUG: can't round-trip non-nano Timestamp

Pandas version checks[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exis...

Pandas RLS: 2.0.1

This is the tracker for the 2.0.1 release. I think we can have it in around one month, unless some problem in 2.0 requir...

Pandas BUG: inconsistent returned types for pd.to_datetime(..., errors='coerce')

Pandas version checks[X] I have checked that this issue has not already been reported.[X] I have confirmed this bug exis...

Pandas QST: is there a more straightforward approach to calulate correlation between two sets of columns ?

Research[X] I have searched the [pandas] tag on StackOverflow for similar questions.[X] I have asked my usage related qu...

Pandas ENH: allow complex type inference in astype/convert_objects

astype/convert_objects should be able to do this type of coercion from string complex lookingIn [45]: Series(['1.0+5j','...

Pandas AssertionError if transform() changes number of columns (DOC?)

df = pd.DataFrame([[1, 2, 3], [2, 3, 3], [1, 4, 3], [1, 5, 4], [2, 6, 4]])def onlycol0(group): return group[[group.co...

Pandas Inconsistent Nan Key Error using Pandas Apply

I'm recoding multiple columns in a dataframe and have come across a strange result that I can't quite figure out. I'm pr...

Pandas 'mode' not recognized by df.groupby().agg(), but pd.Series.mode works

This works:df = pd.DataFrame({'A': [1, 2, 1, 2, 1, 2, 3], 'B': [1, 1, 1, 2, 2, 2, 2]})df.groupby('B').agg(pd.Series.mode...

Pandas Sorting within groupby causes duplication of index level

When I run this code on 0.17.0 on Python 3.5.0import pandas as pdd = pd.DataFrame(data=[[2, 1]])print(d.index)print((d. ...

Pandas as_index =True for groupby transform inconsistent with agg

Code Sample, a copy-pastable example if possibleimport pandas as pdimport numpy as npindex = pd.date_range('10/1/1999', ...

Pandas GroupBy key does not get returned to output after transform operation on entire dataframe

Code Sample, a copy-pastable example if possible# Your code hereimport pandas as pdimport numpy as npdef processCols(x):...
上一页 下一页
.