Pandas MultiIndex values cache changes but don't preserve them on .copy()

Code Sample, a copy-pastable example if possibleIn [2]: mi = pd.MultiIndex.from_product([[1,2], ['a', 'b']])In [3]: mi.v...

Pandas InStr Comparison between two values on the same row in the same DataFrame

Enhancement Request:- InStr Comparison between two values on the same row in the same DataFrameWould be great if pandas ...

Pandas BUG: python and c engines for read_csv treat blank spaces differently, when using converters

Code Sample, a copy-pastable example if possibleIn [109]:data = np.array([[ 'c1', 'c2'], [ '', 0.285], ...

Pandas to_frame() broken by RangeIndex

Code Sample, a copy-pastable example if possibleIn [1]: import pandas as pdIn [2]: import numpy as npIn [3]: p = pd.Pane...

Pandas Unexpected behavior -- crosstab with dropna=False

Summary of issueBy the name of it, I expected using the 'dropna=False' option with crosstab would have given me results ...

Pandas Indexing and slicing datetime columns using strings

I deal with DateTime columns extensively. Using strings to slice and select items is extremely useful, but it requires a...

Pandas TypeError bug in core/base.py when used with memory profilers.

I have been trying to use some memory profiling tools, to profile my code. With two different memory profilers, both of ...

Pandas [Feature Request] Pandas.Series.info

It would be great if Pandas Series got an info method, like Pandas DataFrame. My main interest is to find out memory usa...

Pandas partial slicing FAILS with a datetimeindex

Hi,I have a simple dataframe with a multiindex. stats.index.namesOut[67]: FrozenList([u'day', u'category'])day is a time...

Pandas Plot expressions

It would be nice to have the possibility to plot expressions. Suppose I have a dataframe with three columns: col1, col2,...

Pandas Cannot get pandas.DataFrame.from_dict() to work with variable dict.values() length

Code SampleI am trying to get a DataFrame from dict whose values are of variable length. However, I get a ValueError.In ...

Pandas COMPAT: statsmodels 0.8 release

https://groups.google.com/forum/m/?pli=1#!topic/pystatsmodels/VT24vE45oogis out in pre release - would be nice to test w...

Pandas DataFrame.query() could be vulnerable to SQL injections like attacks if the user doesn't know what they are doing

Currently DataFrame.query() takes a string to query a database in a way that's quite similar to how an SQL query reads d...

Pandas Incorrect use of super() in pandas core module

Existing CodeIn the pandas core module base.py, the __sizeof__ member of the PandasObject class uses the following line:...

Pandas Pythonic chained comparisons

Code Sample, a copy-pastable example if possibledtw[(x <= dtw.id < y)]Expected Outputsame as dtw[(x <= dtw.id) ...

Pandas DataFrame.describe() no longer excludes NaN.

Code Sample, a copy-pastable example if possibleIn 0.18.1, a single NaN in a column will cause the reported percentiles ...

Pandas feature request : lead/lag values based on timedeltas

Hello the Pandas team,It's me again ;-)Consider the following:rng = pd.date_range('1/1/2011', periods=5, freq='T')ts = p...

Pandas BUG, dot product with empty dataframe

Dot product of empty dataframe resulted in dataframe filled with zeros. I thought the expected ones would be empty or Na...

Pandas Feature Request: groupby retaining indexes

The feature I'd like to suggest/request is pretty simple, it has workarounds but it seems very odd to me that this is no...

Pandas index disappears on groupby.rank()

df = pd.DataFrame({'A' : [1, 1, 3, 4], 'B': [7, 7, 7, 8], 'C': [5, 6, 7, 8], 'D': [5, 6, 7, 8]})print(df)print("")print(...
上一页 下一页
.