Pandas copy of pd.ExcelWriter

Code Sample, a copy-pastable example if possible# Your code hereimport pandas as pdimport copywriter = pd.ExcelWriter('r...

Pandas DataFrame.set_value() fails with numpy types

Code Sample, a copy-pastable example if possibleimport pandas as pdimport numpy as npdf = pd.DataFrame([[0,0,None], ...

Pandas Pinning methods to NaTType - Why not to _NaT?

In tslib.pyx there is an inheritance chain (rearranged here for python-friendliness)cdef class _Timestamp(datetime):[......

Pandas [MemoryError] read_html fails on table with 30k rows

Hi,# Your code hereimport pandas as pddf = pd.read_html('/root/index.html')Problem descriptionpandas in method read_html...

Pandas df.plot.bar not showing colors as expected as compared to matplotlib

https://github.com/pandas-dev/pandas/blob/3a7f956c30528736beaae5784f509a76d892e229/pandas/plotting/_core.py#L2649-L2666i...

Pandas Dataframe.unstack().stack(0) erroneously changes data if indices not initially sorted

Code Sample, a copy-pastable example if possible>>> import pandas as pd>>> # Notice that the columns a...

Pandas to_timedelta rounds to microseconds unless unit is us or ns

Code Sample>>> pd.to_timedelta(0.123_456_789, unit='s').componentsComponents(days=0, hours=0, minutes=0, second...

Pandas API: Rolling daily sum resets rolling sum when calculated on an hourly timestamp indexed dataframe

Code Sample, a copy-pastable example if possibleimport numpy as npimport pandas as pddata = np.random.randint(1,10,520)i...

Pandas DataFrame .plot color attribute works not properly

Problem descriptioncolor attribute in pd.Series/pd.DataFrame works wrong (not same as color in ax.bar) when I specify a ...

Pandas pd.date_range AssertionError: Inferred time zone not equal to passed time zone

Code Sample, a copy-pastable example if possiblepd.date_range(start='2017-06-01 00:00:00+02:00', end='2017-...

Pandas Bug with Chinese characters in file path

error:Traceback (most recent call last): File "D:\Python Program\Pworkspace\test.py", line 34, in pd.read_csv(path)...

Pandas ABCIndex does not recognize Int64Index

Is this intentional? Is the idea that isinstance(foo, Index) can be replaced by isinstance(foo, ABCIndexClass) and not ...

Pandas numpy.datetime64 casted to Timestamp when added to DataFrame

import numpyimport pandas as pd# We create a list of strings. time_str_arr = ['2017-06-30T13:51:15.854', '2017-06-30T13:...

Pandas Pandas df.read_html dropping duplicate tables in html

Code Sample, a copy-pastable example if possible# Your code hereimport pandas as pdtables = pd.read_html('D:\\myhtml.htm...

Pandas to_sql 2x slower in pandas 0.20.3 then 0.19.2 (reproducable)

Code Sample, a copy-pastable example if possibleimport numpy as npimport pandas as pdindex = pd.date_range('1970-01-01',...

Pandas to_csv method doesn't work well when use space separator

Code Sample, a copy-pastable example if possibleimport numpy as npimport pandas as pds = pd.Series(np.random.randn(5), i...

Pandas When using styles: replicate the classes argument of DataFrame.to_html

Simple request:The DataFrame to_html method accepted a kwarg classes to specify CSS classes that should be applied to th...

Pandas Lines are truncated in docs

[http://pandas.pydata.org/pandas-docs/stable/dsintro.html]Many lines in the ipython cells are truncated, which makes lea...

Pandas groupby problem the grouping function is applied to the whole index column...

Code Sample, a copy-pastable example if possibleimport pandas as pdimport picklefrom datetime import datetime, timedelta...

Pandas Cannot use apply on Series with Timestamp values

Code Sample, a copy-pastable example if possibleimport pandas as pdts = pd.Series([pd.Timestamp('2017-07-31 20:08:46.110...
上一页 下一页
.