Pandas pandas.core.frame.DataFrame to pandas.core.series.Series warnings

Code Sample, a copy-pastable example if possibledf = pd.DataFrame(data = X)r_dataframe = pandas2ri.py2ri(df)MASS=importr...

Pandas __str__ and __repr__ are ignored for custom iterable objects

I posted a comment on https://github.com/ipython/ipython/issues/2379, but I realized this may be specific to Pandas. I'm...

Pandas Type mismatch beetween dtypes and iterrows.

Problem descriptionWorking on issue https://github.com/twosigma/beakerx/issues/6020 I find strange behavior.It occurs wh...

Pandas got an error in read in csv file

I am simply read in a csv filedf = pd.read_csv(r'wl.csv', nrows = 5)and got this error:---------------------------------...

Pandas Commit 9732af248 broke importing pandas (ModuleNotFoundError)

After commit 9732af248, the master branch no longer allows me to import pandas.(pandas_dev) louispotok@oye:~/pandas-loui...

Pandas wide_to_long ignores columns which start with something else than a digit

Code Sample, a copy-pastable example if possibledf = pd.DataFrame({"A X1970" : {0 : "a", 1 : "b...

Pandas SettingWithCopyWarning when setting with .loc[row_indexer, col_indexer]

Code Sample, a copy-pastable example if possibleE.g:lcf.loc[i,'f'] = 5510448.7222578134SettingWithCopyWarning: A value i...

Pandas 'Series' object has no attribute 'items' on Python 2.7

Code Sample, a copy-pastable example if possibleRunning on the REPL with Python 2.7:Python 2.7.13 |Continuum Analytics, ...

Pandas Does fillna work with boolean index?

Code>>> df A B C0 1.739232 1.369457 -0.5465001 0.340898 NaN 0.5181322 ...

Pandas Date field inconsistently converted to datetime when used as a key in groupby

Code sampleimport pandas as pdimport numpy as npdf = pd.DataFrame(zip(np.random.rand(5).tolist(), [1]*5, [dt.date.today(...

Pandas Groupby on categoricals includes unused categories

In a nutshell:groupby on a single categorical column with prescribed categories incorrectly returns results for all cate...

Pandas Series object logical operation type casting

Happy for this to be a wontfix but I'm trying to understand the logic behind it. Suppose I have some Series instancesimp...

Pandas df.assign with boolean dummy series results in NaN Series.

Code Sample, a copy-pastable example if possibleimport pandasimport iocsv_file = io.StringIO("""datetime,...

Pandas Conversion of statistical test results into python not working with ri2py but they work with pandas.rpy.common

Code Sample, a copy-pastable example if possiblefrom rpy2.robjects.numpy2ri import numpy2rifrom rpy2.robjects.packages i...

Pandas Pandas pivot table with NaN index

Code Sample, a copy-pastable example if possibleimport pandas as pdimport numpy as npdf = pd.DataFrame({ 'A' : 1.,'B' : ...

Pandas groupby with categorical type returns all combinations

Code Sample, a copy-pastable example if possibleimport pandas as pd ...

Pandas Performance pd.HDFStore().keys() slow

Code Sample, a copy-pastable example if possibleimport pandas as pd, numpy as nppath = 'test.h5'dataframes = [pd.DataFra...

Pandas why is_file_like needs to see __iter__

I have a question regarding the new is_file_like function and its usage in IO functions like read_csvThis new change in ...

Pandas ENH: subclass Series to represent PMF and CDF

For my own purposes, I am considering writing classes to represent PMFs and CDFs using Pandas Series as the implementati...

Pandas Multi GroupBy Aggregates and Enhancements

GroupBy EnhancementsHi Pandas developers and enthusiasts! This is my first time posting, so if I did anything wrong, sor...
上一页 下一页
.