File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1913,7 +1913,7 @@ cdef class _Period(PeriodMixin):
1913
1913
Parameters
1914
1914
----------
1915
1915
freq : str , BaseOffset
1916
- The target frequency to convert the Period object to.
1916
+ The target frequency to convert the Period object to.
1917
1917
If a string is provided ,
1918
1918
it must be a valid :ref:`period alias <timeseries.period_aliases>`.
1919
1919
@@ -1924,7 +1924,7 @@ cdef class _Period(PeriodMixin):
1924
1924
1925
1925
Returns
1926
1926
-------
1927
- Period : A new Period object with the specified frequency , aligned to the `how` parameter.
1927
+ Period : Period object with the specified frequency , aligned to the parameter.
1928
1928
1929
1929
See Also
1930
1930
--------
@@ -1953,7 +1953,8 @@ cdef class _Period(PeriodMixin):
1953
1953
>>> period.asfreq('M', how = ' end' )
1954
1954
Period('2023-12', 'M')
1955
1955
1956
- Convert a monthly period to an hourly period , aligning to the first day of the month:
1956
+ Convert a monthly period to an hourly period ,
1957
+ aligning to the first day of the month:
1957
1958
1958
1959
>>> period = pd.Period(' 2023-01' , freq = ' M' )
1959
1960
>>> period.asfreq('h', how = ' start' )
@@ -2067,7 +2068,7 @@ cdef class _Period(PeriodMixin):
2067
2068
2068
2069
Notes
2069
2070
-----
2070
- The month is determined based on the `ordinal` and `base` attributes of the Period.
2071
+ The month is based on the `ordinal` and `base` attributes of the Period.
2071
2072
2072
2073
Examples
2073
2074
--------
You can’t perform that action at this time.
0 commit comments