Skip to content

DOC: Fixed errors in pandas.DataFrame.asfreq PR07, RT02, RT03, SA04 #32362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Mar 11, 2020
2 changes: 1 addition & 1 deletion pandas/_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ def assert_series_equal(
check_categorical : bool, default True
Whether to compare internal Categorical exactly.
check_category_order : bool, default True
Whether to compare category order of internal Categoricals
Whether to compare category order of internal Categoricals.

.. versionadded:: 1.0.2
obj : str, default 'Series'
Expand Down
6 changes: 4 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7381,6 +7381,7 @@ def asfreq(
Parameters
----------
freq : DateOffset or str
frequency string
method : {'backfill'/'bfill', 'pad'/'ffill'}, default None
Method to use for filling holes in reindexed Series (note this
does not fill NaNs that already were present):
Expand All @@ -7398,11 +7399,12 @@ def asfreq(

Returns
-------
converted : same type as caller
converted
Same type as caller.

See Also
--------
reindex
reindex : Conform DataFrame to new index with optional filling logic.

Notes
-----
Expand Down