Pandas merge_ordered documentation invokes a different function, and output is not correct

The documentation for pandas.merge_ordered at https://pandas.pydata.org/pandas-docs/stable/generated/pandas.merge_ordere...

Pandas Integrate with https://developer.tdameritrade.com/ (ask tdameritrade for code contribution)

Would like to request an integration with https://developer.tdameritrade.com/TDameritrade which recently merged with sco...

Pandas Inplace boolean setting on mixed-types with a non np.nan value

Code Sample,In [4]: df = pd.DataFrame({'series': pd.Series(range(3))})In [5]: df["name"] = "abc"In [...

Pandas Cannot access callable attribute 'groupby' of 'DataFrameGroupBy' objects

Hello,I'm newbie in Panda. I want to groupby my dataframe poll_df by Start Date. I get this error. How can I fix it?Than...

Pandas Series convert int64 to float64 even dtype is explicitly set

Code Sample, a copy-pastable example if possibles1 = pd.Series({'v1': 1}, dtype='int64')# >>> s1# v1 1# dtyp...

Pandas Pandas not preserving date type on reading back parquet

Code Sample, a copy-pastable example if possiblefrom datetime import datetime, dateimport pandas as pddf = pd.DataFrame(...

Pandas datetime64 is converted to int64 when assigning to a new field

Code Sample, a copy-pastable example if possible# First, create a `Series` with `dtype` int64 or float64 or object (any ...

Pandas rolling().apply is inconsistent with groupby().apply

This is the same issue with #5071, but still not solved. :(func in GroupBy.apply(func, *args, **kwargs)[source] have Dat...

Pandas Dataframe group apply can fail on trivial cases.

Code Sample, a copy-pastable example if possibleimport pandas as pdimport numpy as npdef gen_one_df(start=0): np.rand...

Pandas reindex() does not reindex a MultiIndex

Code Sample, a copy-pastable example if possibledf = pd.DataFrame.from_dict({'A': {(42, 'foo', 4): 0, (42, 'foo', 9): 0}...

Pandas compare a column of np.timedelta64 with a single np.timedelta64 throws ValueError

Code Sample, a copy-pastable example if possible# Your code hereimport pandas as pdimport numpy as np# create a datefram...

Pandas Inconsistent and Hard-to-reproduce Issues with Null Index Values

Code Sample, a copy-pastable example if possible# Note: This is not real Python code. I can't reproduce these problems...

Pandas Providing index to pd.Series destroys categories

Code Sample, a copy-pastable example if possibledtype = pd.api.types.CategoricalDtype(categories=["A","B&...

Pandas Default value for missing values on merge

This is a reopening of https://github.com/pandas-dev/pandas/issues/1836. The suggestion there was to add a parameter to ...

Pandas RangeIndex is converted to Int64Index on save to HDF5 (to_hdf)

Hello, I'm not sure if it is an intended behavior or not, and I did not find any mention about this in the documentation...

Pandas np.int64 in pandas dataframes is not instance of np.int64

Code Sample, a copy-pastable example if possibleimport pandas as pdx = np.int64(4)print("input isinstance np.int64 ...

Pandas rolling.apply deprecated in the future series rolling sugjested but doesn't work

Code Sample,#series example then old example that threw the future warning commented outhousing_data['ma_apply_example']...

Pandas DOC: Freeze old whatsnew notes?

Currently on master, we have a new failure from the 0.10.0.txt whatsnew due to the line_width option being removed.Rathe...

Pandas Accessor behavior variances with multiindex

Code Sample, a copy-pastable example if possibledef gen(): yield '1','2',1,2 yield '1','2',1,2 yield '1','3',3,...

Pandas serie.str.split() different from pd.Series.str.split(serie)

Hi,I am learning Python and pandas.Is this an expected behavior ?serie= pd.Series(['a b', 'a b', 'a b', 'a b', 'a b', 'a...
上一页 下一页
.