Pandas Undesired behaviour using to_csv with QUOTE_NONE

Hi, My data frame contains unicode strings. Now when I use 'to_csv' without any quoting parameter, I get a csv file wher...

Pandas reset_index loses type information on time indices with time zone information

import pandas as pdts1 = pd.Timestamp('2015-07-01 10:00:00')ts2 = pd.Timestamp('2015-07-01 11:00:00')df1 = pd.DataFrame(...

Pandas DataError when aggregating Decimal values using pivot_table

import pandas as pdfrom decimal import Decimaldf = pd.DataFrame()df['a'] = pd.Series(['a', 'b', 'a'])df['b'] = pd.Series...

Pandas pandas.date_range documentation does not have link to acceptable 'freq' values

The API documentation for pandas.date_range does not provide a link or explanation of the acceptable values for the 'fre...

Pandas Sort()ing then selecting columns in a function apply()d to a grouped DataFrame

This code:import pandas as pdfrom numpy.random import randndf = pd.DataFrame(randn(8, 4), columns=['A', 'B', 'C', 'D'])d...

Pandas to_sql method should accept database URI as con parameter

Hello,This enhancement is quite similar to https://github.com/pydata/pandas/issues/10654to_sql method should accept data...

Pandas Default behavior of read_csv for data values of NA and NaN

I was surprised to learn that default behavior for reading in a CSV like this:%more foo.txtx,y"NA",NA"foo...

Pandas Inconsistency in CSV Import/Export

Pandas is not able to export a matrix as csv file and reimport it and keeping the data consistent. Using default argumen...

Pandas BUG: crosstab not working for integer types as columns

From the mailing list: https://groups.google.com/forum/?fromgroups#!topic/pydata/fpYfwkZvdxIIn [37]: tips = pd.read_csv(...

Pandas Mismatched behavior of sorting functions for DataFrame vs. Series

The behavior of these methods differs in confusing ways:DF:- DataFrame.sort_index takes a by parameter, in which case th...

Pandas Very unintuitive to join two dataframes with indexes that overlap partially

I posted a slightly-ranting question about this on StackOverflow.Basically, I want to use pandas to join two dataframes ...

Pandas DOC: Add more examples for Series resampling in tutorials

It would be nice to see more resampling examples in the Tutorials section here. Some examples I am working on for this:-...

Pandas ERR: show SettingWithCopyWarning on Panel assignments if possible

This involves incorrect pickling of Pandas Panel values. From what I've seen, it occurs when new values of a different d...

Pandas Series.dt.tz_localize() changes the dtype to object

import pandas as pdindex = pd.date_range("2015-01-01", "2015-10-1", freq="W-SUN")s = pd.Se...

Pandas Reading from Excel mangles columns

As far as I can tell, both methods of reading an Excel sheet (through ExcelFile and read_excel) do not have the option t...

Pandas sort seems to sort inplace by default unlike documentation

Hello,I noticeddf_ohlc['high'].sort(ascending=False)raisesValueError: This Series is a view of some other array, to sort...

Pandas Feature Request: Add support for 'Allow Large Results' to BigQuery connector

gbq.py currently returns an error if the result of a query is what Google considers to be 'Large'. The google api allow...

Pandas Timestamp.to_datetime() crashes with win32timezone.TimeZoneInfo objects

Thanks to the wonders of duck typing, pandas.Timestamp happily accepts pywintypes.TimeType objects (otherwise known as p...

Pandas Cannot fill in empty Panel with DataFrame

I'm not sure this is a bug, but it bit me recently.I can fill-in an empty DataFrame with a Series:In [1]: import pandas ...

Pandas Unclear UnicodeDecodeError exception.

<type 'exceptions.UnicodeDecodeError'> at /token'ascii' codec can't decode byte 0xd7 in position 0: ordinal not in...
上一页 下一页
.