Pandas BUG: index.map() deletes index.name

This is related to https://github.com/pandas-dev/pandas/issues/12766Possibly a duplicate.A small, complete example of th...

Pandas Time out errors when reading large files from S3

I am getting "time out" errors when trying to read from a large CSV (2GB) in S3:df = pd.read_csv('path_to_2GB_file.csv')...

Pandas Concatenation of list columns fails when grouping on multiple columns

Assume we have a simple DF like thisx = pd.DataFrame({'a':[1,1,2,2],'b':['a','a','a','b'],'c':[[1,2],[3,4],[5,6],[7,8]]}...

Pandas Enhancement: add "sum" to pandas.describe()

Feature request: can we add "sum" to the pandas.describe() method? Not every dataset cares about sum, of course, but eno...

Pandas fillna on a string column

Using pandas version 0.16.0. I read a CSV file that has a string column with some missing values, and pandas loads thos...

Pandas Strip whitespace from column names when usecols in read_csv

A small, complete example of the issuewhen loading a file of the type, where headers have a trailing whitespace,a ,b ,c ...

Pandas pd.read_html() not working showing error in _html5lib.py

A small, complete example of the issuepd.read_html() not working showing error in _html5lib.py,line 70 class TreeBuilde...

Pandas ExtractAll on a single pattern

s = pd.DataFrame(["I love you", "Pandas", "<3"], index=["A", "B", &...

Pandas Unable to store category data in panels

Create a dataframe with a variable of dtype category and then convert to a panel# A dataframe with a category variabledf...

Pandas pandas performance hotspots

ContextI'm writing a text mining toolkit, and decided to try pandas because it offered convenience row-and-column labell...

Pandas df.join(get_dummies(cut(df.v))) fails with AttributeError _is_dtype_compat

A small, complete example of the issuedf = pd.DataFrame({"data": np.arange(0, 10, 0.1)})v = pd.cut(df.data, [0...

Pandas Series sort_index missing kind keyword

A small, complete example of the issue>>> import pandas as pd>>> pd.Series(index=[3,2,1,4,3]).sort_ind...

Pandas duplicated removing items that are not duplicates in 0.18

I wish I could say more about this, but it is with proprietary data. Basically, I have a DataFrame of 10 columns and ar...

Pandas .unique() inconsistency between Series and Index objects

A small, complete example of the issueix = pd.Index([0,0,1,2])sr = pd.Series([0,0,1,2])ix.unique()Int64Index([0, 1, 2], ...

Pandas incorrect calculation of centered moving averages for even length series

For even numbered periods the centered moving average is calculated incorrectly. Suppose the period length is 5. Then th...

Pandas cryptic DataFrame.agg error when using dictionaries

Not sure if this is a bug. This works:( pd.DataFrame({"u": [2,1,4,2,5], "a": ["a", &quo...

Pandas DataFrame.groupby(level=...).rolling(n).mean()

Using the groupby().rolling() object seems to duplicate a level of the index.In [9]: d.groupby(level='ticker').rolling(3...

Pandas BUG: index.max() not matching index.levels[0].max() for multiindex on sliced dataframe

Small example:df = pd.DataFrame(index=pd.MultiIndex.from_product([['A','B','C'],['a','b']])Then:df.loc[:'B'].index.max()...

Pandas Cannot initialize a data frame with None

Hi all,just figured out that the following codepd.DataFrame({'x':None}, index=[0])works in 0.18.1 but not 0.19.0, is tha...

Pandas t

A small, complete example of the issue# Your code hereExpected OutputOutput of pd.show_versions()# Paste the output here
上一页 下一页
.