Pandas series.apply(pandas.to_datetime, convert_dtype=False) still converts dtype

A small, complete example of the issue>>> import pandas>>> s = pandas.Series({'a': '2012-05-01 00:00:0...

Pandas read_table with dtype=object and an int converter still returns float64 if NaN present

A small, complete example of the issue>>> import io, pandas>>> csvfile = io.StringIO('a\nN/A\n1\n')&gt...

Pandas IndexError when indexing into a Series containing a UTC datetime by name

A small, complete example of the issueimport pandas; import pytz; import datetime; pandas.Series([pytz.UTC.localize(date...

Pandas array_equivalent has disappeared from pandas.core.common in version 0.19, is this a mistake?

A small, complete example of the issue# Your code hereimport pandasimport pandas.core.common as comprint com.array_equiv...

Pandas strange error with Pandas-0.19.0

Just to raise eyebrows, not sure if it's related to pandas-0.19 or to a bug of myself.It is ok under Pandas-0.18.1 (and ...

Pandas Pandas replace with string and integers - incorrect behavior?

I encountered a potentially incorrect behavior of pandas replace with strings and integers. If the dataframe has both 0 ...

Pandas Pandas 0.12 is much faster than Pandas 0.18

Hello,I am running the code below in pandas 0.18 and benchmarking it against pandas 0.12 and the profiling shows that 0....

Pandas unique(), values discards timezone information in some cases

Not sure if it's an expected behavior. This seems strange to me.A small, complete example of the issuerng = pd.date_rang...

Pandas Group-by/apply unexpected output with some operations when as_index=False

A small, complete example of the issueimport pandas as pdimport numpy as npdd = dict(a=np.arange(9), b=np.repeat(np.aran...

Pandas pd.eval does fails when the same operation in python works fine.

A small, complete example of the issue# Your code heredf = pd.DataFrame(data=[(1,2),(3,4)], columns=['a', 'b'])pd.eval(&...

Pandas Wrong index type from groupby on an empty dataframe using user-defined agg func

A small, complete example of the issueimport pandas as pddf = pd.DataFrame(columns=['a', 'b'])df2 = df.groupby('a').agg(...

Pandas pandas.DataFrame.head does not properly trim MultiIndexes

I'm trying to trim a very big DataFrame with a MultiIndex using head, and I noticed that the new DataFrame was still rid...

Pandas read_json ValueError: Value is too big

Loading a json file with large integers (> 2^32), results in "Value is too big". I have tried changing the orient to...

Pandas Join on closest value

Hello,I am not very familiar with the current discussions, but I was wondering if there was a feature in the pipe to joi...

Pandas Pandas 0.18.1 and 0.19.0 have different (and confusing) handling of TZ when subtracting Timedelta series vs subtracting single Timedelta

A small, complete example of the issueApologies if this is already a known issue: I've not found anything similar in my ...

Pandas Adding a list of timedelta to a column does not work for tzlocal() timezones

A small, complete example of the issueWhen you try to add a list of timedelta to a column that is datetime the behavior ...

Pandas TypeError when serializing series.tolist() to JSON

The json library, encoder module, raises a TypeError exception, which I think should not be raised. Hence I think the Se...

Pandas Rolling window and np.nanmean outputs only NaN

Hi,I am having an issue with the rolling apply method combinated with numpy's nanmean method. Here is my isssue:import p...

Pandas BUG: Panel does not preserve DataFrame dtypes

A small, complete example of the issue>>> df = pd.DataFrame({'a':[1,2,3], 'b':[True,False,True]})>>> d...

Pandas ENH: Construct Panel from 2D structured array

Right now (0.18.1), I can construct a DataFrame from a "1D" structured array. The NumPy structure field names are used ...
上一页 下一页
.