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
6 changes: 4 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7485,6 +7485,7 @@ def asfreq(
Parameters
----------
freq : DateOffset or str
Frequency DateOffset or 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 @@ -7502,11 +7503,12 @@ def asfreq(

Returns
-------
converted : same type as caller
Same type as caller
Object converted to the specified frequency.

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

Notes
-----
Expand Down