Pandas gbq.io.to_gbq raises InvalidSchema even thought schema matches

DF's schema returned by pandas.io.gbq.generate_bq_schema(df):{'fields': [{'type': 'TIMESTAMP', 'name': 'field1'}, {'type...

Pandas sparse resampling not working with dictionary of columns?

Hello there,Have I said that Pandas is awesome? yes, many times ;-)I have a question, I am working with a very large dat...

Pandas reindex() doesn't work with MultiIndex

from pandas import DataFrame, Timestampc = pandas.DataFrame({u'ul_payload': {('a', Timestamp('2016-11-01 06:15:00')): 5,...

Pandas BUG: pandas.Categorical.__unicode__ does not respect console display width

Code Sample, a copy-pastable example if possibleages = [20, 22, 25, 27, 21, 23, 37, 31, 61, 45, 41, 32]bins = [18, 25, 3...

Pandas Pandas.read_html missing converted data

pandas version: '0.19.2'import requestsurl ="http://www.hkex.com.hk/chi/market/sec_tradinfo/stockcode/eisdeqty_c.ht...

Pandas Panel and DataFrame both with identical DateTimeIndex, cannot set if localized.

The major_axis of a panel is often a DateTimeIndex, and often this DateTimeIndex has a locality set by .tz_localize('UTC...

Pandas pd.Series interpolate with method='time' returns inconsistent results for first or last NaN

Calling the pd.Series interpolate with method='time' returns inconsistent results when the first or the last value is Na...

Pandas sort_index(axis=1) doesn't sort integers

Original:In [45]: aOut[45]: commits -1 -3 -2auth_date2013-01-04 42217.0 19804.0...

Pandas Groupby with rolling on MultiIndex duplicate index level

Groupby by level of MultiIndex with rolling duplicate index level.df = pd.DataFrame(data=[[1, 1, 10, 20], [1, 2, 30, 40...

Pandas read_csv cannot get big files

Code Sample, a copy-pastable example if possiblesingle_df = pd.read_csv(f, sep="\t", header=0, index_col=0)Pro...

Pandas ewmcorr - Input arrays must be of the same type! using numpy arrays

I am trying to use ewmcorr on a numpy array:rand_arr = np.random.random((50, 50))test_corr = ewmcorr(rand_arr, span=10)a...

Pandas How to question

Hi there,I want to select all the rows in my data frame where 'finished_processing_date' is not null.I know I can do som...

Pandas initialize df and not wait for full csv load?

Hi there,Is there a way to load the data frame in pandas and not wait for full load to complete before being able to con...

Pandas Feature Request: pandas.DataFrame.from_records(New "Include" parameter)

Pandas Dataframe.from_records has an Exclude parameter:exclude : sequence, default None Columns or fields to excludeTh...

Pandas Kernel dies when using df.to_hdf

Code Sampleimport osimport sysimport tempfileimport pandas as pdfrom urllib.request import urlretrieve# Settingsp_ext = ...

Pandas read_excel gives different data for one and more than one elements in parse_cols setting

related to #12292Try to get values from only first column with empty cellsimport pandas as pddf = pd.DataFrame([["&...

Pandas Sum of all-NaN row/column returns 0

Code Sample, a copy-pastable example if possibledf = pd.DataFrame({'A':[math.nan,1,math.nan], 'B':[math.nan,math.nan,1],...

Pandas Apply with dataframes as return values of function

Code Sample, a copy-pastable example if possibleimport pandas as pdimport sysparent = pd.DataFrame({"value1": ...

Pandas Categorical type lost during pd.merge ?

df1=pd.DataFrame({'categorical':['A','A','B'],'i':[1,2,3]})df1['categorical']=df1['categorical'].astype('category')df2=p...

Pandas Unescaped quote marks in to_json output when run on multi indexed object

Code Sampleimport pandas as pdimport numpy as nparrays = [['bar', 'bar', 'baz', 'baz', 'foo', 'foo', 'qux', 'qux'], ['on...
上一页 下一页
.