Pandas combine_first breaks for MultiIndex

I am not getting the expected output of the command a.combine_first(b). All values are NaN. As you will see in my code, ...

Pandas Wrong behaviour of groupby with diff and merge

While writing a piece of code similar to the example below, I stumbled on a problematic interaction between groupby, dif...

Pandas python pandas changes column value when setting with enlargement

I've boiled my problem down to this example. I am running Python 2.7 on Windows 7 and using pandas 0.17.1.>>> i...

Pandas df.groupby(col).resample('x') returning both unstacked or multiindex result

import pandas as pdfrom itertools import cycle, isliceN = 4df = pd.DataFrame(index=pd.date_range('2000', periods=N))df['...

Pandas DOC: sas & R functionaility

http://blog.dominodatalab.com/using-r-and-python-for-common-sas-functions/?utm_source=&utm_medium=&utm_campaign=...

Pandas Pandas .read_sql_table() not reading a table which SQLalchemy can find

I am running the following code (pandas 0.18.0, sqlalchemy 1.0.12):skus = pd.read_sql_table('ads_skus', SQLALCHEMY_CONN,...

Pandas Series accessed with timezoned timestamps inexplicably returns NaN

Somewhere between version 0.16.1 and 0.18.1 the behavior of Series[] called with an array of timestamps with timezones s...

Pandas DOC: RangeIndex documentation missing from API

The only mention of the RangeIndex is on http://pandas.pydata.org/pandas-docs/stable/whatsnew.html#range-index as of Pan...

Pandas Excel corrupted file when using to_csv method

Input datafoo1.csvCode Sample, a copy-pastable example if possibleimport pandas as pddf = pd.read_csv('foo1.csv', sep='\...

Pandas Slow setting PeriodIndex vs DatetimeIndex

When attempting to set an index using a Period rather than a Datetime,the performance significantly deteriorates. A smal...

Pandas pandas read_sql reads the entire table in to memory despite specifying chunksize

I was trying to process a massive table in chunks and therefore wanted to read the table in chunks andprocess it.When i ...

Pandas pandas TypeError: Series.name must be a hashable type

Code Sample, a copy-pastable example if possibleThis is the following SO issue: http://stackoverflow.com/questions/37195...

Pandas ambiguous ValueError message

Code Sample, a copy-pastable example if possibledf=pd.DataFrame([(i+j,i-j,i*j) for i in range(0,4) for j in (2,6)])df.co...

Pandas quantile() does not work with columns of type Decimal

Code Sample, a copy-pastable example if possibleThis snippet does not work (returns an empty DataFrame)pd.DataFrame([ ...

Pandas Behaviour of concat with empty Series has changed between 0.18.0 and 0.18.1

Code Sample, a copy-pastable example if possibleimport pandas as pds_empty = pd.Series()s_filled = pd.Series([1, 2, 3, 4...

Pandas why resample with group by not pad null value

Code Sample, a copy-pastable example if possibleI use resample with group by method to run following code:import pandas ...

Pandas read_excel: fails for Python 3.5.1/Pandas 0.18.0

I'm running Anaconda 64-bit, Python 3.51 (pandas: 0.18.0) and 2.7 (pandas: 0.17.1.)When I'm in the 2.7 environment, read...

Pandas pd.to_datetime raises expection when converting date object with unit param

Hello, since pandas 0.18.1, converting to datetime a date defined as object, using the unit parameter, raises a ValueErr...

Pandas PanelGroupBy.count not implemented anymore

It seems that the count method no longer works on PanelGroupBy objects, instead raising NotImplementedError?dr = pd.date...

Pandas CLN: remove pandas/bench & pandas/vb_suite

I think we are sufficiently on asv now.Ideally would check if anything in bench that we should add to asv. Make sure the...
上一页 下一页
.