Pandas to_csv case insensitivity

Different DataFrames saved under filenames with different cases are overwritten# Generate three different DFslower_df = ...

Pandas Detect and remove features deprecated before 0.20.0

For what I could see, there is still some functionality deprecated before 0.20.0, but which hasn't been removed, as it w...

Pandas inplace argument accepted by DataFrame.rename_axis(newname,axis=1, inplace=True) but is ignored

Code Sample, a copy-pastable example if possibleimport pandas as pddf = pd.DataFrame({'Column 1' : [1., 2., 3., 4.],...

Pandas Add abbrs for ['Y', 'M', 'W'] in Timedelta

Code Sample, a copy-pastable example if possible>>> pd.Timedelta(1, 'd')Timedelta('1 days 00:00:00')>>&gt...

Pandas DataFrame.drop() does not recognise the columns keyword argument

Code Sample, a copy-pastable example if possibleindex = np.linspace(-3, 5, 7)df = pd.DataFrame({'A': np.sin(index), 'B':...

Pandas DataFrame.apply() ignores reduce argument

Code Sampleimport numpy as npimport pandas as pdindex = np.linspace(-3, 5, 7)df = pd.DataFrame({'A': np.sin(index), 'B':...

Pandas Import error with new version of pandas

Code Sample, a copy-pastable example if possibleimport pandas as pdProblem descriptionThis issue came up while running u...

Pandas msgpack file created with 0.16 cannot be read in 0.20.3: UnicodeDecodeError

Problem descriptionI have several msgpack encoded data frames from old versions of pandas. I have seen the warnings abou...

Pandas Still getting ignored error after upgrading to panda 0.22.0

Code Sample, a copy-pastable example if possible # create grouped Pandas DataFrame gpdf = pdf.groupby('bin...

Pandas Missing int tuple index should raise KeyError, not TypeError

Code Sample, a copy-pastable example if possibleimport pandaspandas.DataFrame({"a": [0], "b": [0], &...

Pandas __finalize__ called with other as _Concatenator?

Revisiting some 6 month old class that subclasses Series and overrides __finalize__ as: def __finalize__(self, other,...

Pandas pandas exponentially slower when running concurrently in multiple processes

I have a method that uses pandas to do extensive read-only calculations on a 800MB DataFrame loaded using read_pickle.Th...

Pandas read_csv getting TypeError with decimal.Decimal type

Code sampleWe read in a two column, two row file test_data.csv, that looks like the following:x, y1, 2import decimalimpo...

Pandas pandas dataframe to_sql insert to postgresql not work

def testSQL(): import psycopg2 import pandas as pd from sqlalchemy import create_engine try: engine = ...

Pandas Default value of df.set_index()'s argument 'inplace' should be True.

Code demonstrating my issue with the 'inplace' argument of df.set_index().import pandas as pd#start from a 2-dim listali...

Pandas ValueError: Cannot index with multidimensional key

items = ['A','B']major_axis=['a','b','c']minor_axis=[1,2,3]pl = pd.Panel(np.random.randn(2,3,3), items=items, major_axis...

Pandas HDF5 file reading error: "Attribute 'block2_items_variety' does not exist in node:/data"

Code Sample, a copy-pastable example if possible# Your code heredata.to_hdf('data.h5',mode='w',format='f')data = pd.read...

Pandas DOC deprecation warning to_datetime

I was wondering if in the documentation on Timeseries, the occurrences to_datetime should be changed to to_pydatetime.If...

Pandas read_csv() issue for CSV files with mimetype application/vnd.ms-excel

I use pandas.read_csv() to read an URL of an uploaded CSV file. However, sometimes it caused an issue that read_csv() re...

Pandas Adding TimedeltaIndex to tz-aware DatetimeIndex: TypeError: data type not understood

Code Sample, a copy-pastable example if possibleimport pandas as pddates = pd.date_range('2017-01-01', '2017-01-31', tz=...
上一页 下一页
.