Pandas Suspected memory leak with read_hdf()

data = pd.read_hdf('large.hdf5', 'key', columns=['some', 'columns'])Problem descriptionI saved a large dataframe with ab...

Pandas "'TableIterator' object is not an iterator" when calling df.read_hdf()

Code Sample, a copy-pastable example if possiblereader = pd.read_hdf(filename, 'foo', chunksize=1000)next(reader)TypeErr...

Pandas Logic behind groupby.first and groupby.last

Code Sample, a copy-pastable example if possiblelst = [1, 2, 3, 1, 2, 3, 2]s = pd.Series([1, 2, 3, 10, 20, 30, 80], inde...

Pandas importing pandas breaks after successfully installing pandas with pip

Code Sample, a copy-pastable example if possible> docker run --tty --interactive --rm python:2.7.12-alpine ash/ # apk...

Pandas DataFrame apply get same result for each columns

Code Sample:df = DataFrame({'a': range(10), 'b': range(20, 30), 'c': range(30, 40)})df.apply(lambda x: [x])out[]:a [[...

Pandas Suggestion: documentation examples should use meaningful data where possible

Something like this is a pretty good example. I know something about animals, cats, dogs, and hair, so I can sort of kee...

Pandas Bug: Conversion to series with datetime items

Code Sample, a copy-pastable example if possible# Setupimport pandas as pddates = pd.to_datetime(range(1,300), unit='D',...

Pandas read_csv: Casting boolean columns as floats turns missing values into 1.0

Code Sample, a copy-pastable example if possibleIn pandas v0.20.2, the following codeimport pandas as pdfrom io import S...

Pandas Filter based on lambda or some function

Code Sample, a copy-pastable example if possible# Your code heredataset[dataset.Column1 =="abc123"] # this wor...

Pandas Convert ndarray to datafram

DescriptionConsider the 3D arraya = array([[[ 0, 1, 2], [ 3, 4, 5]], [[ 6, 7, 8], [ 9, 10, 11]...

Pandas read_csv() does not recognize escaped quotechar as escaped

Code Sample, a copy-pastable example if possibleTake a csv file with this content:A B C D128.0.0.0 "GET /get-stuff-...

Pandas Datetime and Timedelta operation throw TypeError

Code Sample, a copy-pastable example if possibles = Series(date_range('2012-1-1', periods=3, freq='D'))td = Series([ Tim...

Pandas Observing significant (up to 30x) __get_item__ performance drop between 0.19.2 and 0.20.x

Code Sample, a copy-pastable example if possible# Your code here#%%import pandas as pdimport numpy as np#%%_M = 10_N = 1...

Pandas Implement label support for usecols in read_table "c" engine

pd.read_table can make use of usecols to reduce the memory footprint. usecols supports a list of labels, but this is onl...

Pandas read_table should check for engine name validity

We should really check for valid engine names for the engine argument to pd.read_table. An invalid name results in a dub...

Pandas The query returns Empty array when i use Where in query string

Code Sample, a copy-pastable example if possible# Your code hereaadhaar_data = pd.read_csv('/Users/philips/Downloads/aad...

Pandas The query returns Empty array Empty DataFrame Columns: [pin_code, state] Index: []

Code Sample, a copy-pastable example if possible# Your code hereProblem description[this should explain why the current ...

Pandas Request: setting for raising error when Loc inputs are not present in indexes/column

HelloI have such a dataframe: signalperstation signal_intEntry name Sta...

Pandas column multiindex and reindex inconsistency

In [3]: df1 = pd.DataFrame(np.random.randint(0,10,(4,3)), columns=['a','b','c'])In [4]: df1Out[4]: a b c0 9 3 21...

Pandas (pandas.indexes.base.Index == np.dtype('float64')) is True

Code Sample, a copy-pastable example if possibleI came across a weird behavior in the following code>>> import ...
上一页 下一页
.