@@ -1748,7 +1748,7 @@ cdef class _Period(object):
1748
1748
See Also
1749
1749
--------
1750
1750
Period.end_time : Return the end Timestamp.
1751
- Period.dayofyear : Return the day of year.
1751
+ Period.day_of_year : Return the day of year.
1752
1752
Period.daysinmonth : Return the days in that month.
1753
1753
Period.dayofweek : Return the day of the week.
1754
1754
@@ -1832,7 +1832,7 @@ cdef class _Period(object):
1832
1832
See Also
1833
1833
--------
1834
1834
Period.dayofweek : Get the day of the week.
1835
- Period.dayofyear : Get the day of the year.
1835
+ Period.day_of_year : Get the day of the year.
1836
1836
1837
1837
Examples
1838
1838
--------
@@ -1978,7 +1978,7 @@ cdef class _Period(object):
1978
1978
Period.dayofweek : Day of the week the period lies in.
1979
1979
Period.weekday : Alias of Period.dayofweek.
1980
1980
Period.day : Day of the month.
1981
- Period.dayofyear : Day of the year.
1981
+ Period.day_of_year : Day of the year.
1982
1982
1983
1983
Examples
1984
1984
--------
@@ -2029,7 +2029,7 @@ cdef class _Period(object):
2029
2029
Period.dayofweek : Day of the week the period lies in.
2030
2030
Period.weekday : Alias of Period.dayofweek.
2031
2031
Period.day : Day of the month.
2032
- Period.dayofyear : Day of the year.
2032
+ Period.day_of_year : Day of the year.
2033
2033
2034
2034
Examples
2035
2035
--------
@@ -2061,7 +2061,7 @@ cdef class _Period(object):
2061
2061
return self .dayofweek
2062
2062
2063
2063
@property
2064
- def dayofyear (self ):
2064
+ def day_of_year (self ):
2065
2065
"""
2066
2066
Return the day of the year.
2067
2067
@@ -2078,18 +2078,18 @@ cdef class _Period(object):
2078
2078
--------
2079
2079
Period.day : Return the day of the month.
2080
2080
Period.dayofweek : Return the day of week.
2081
- PeriodIndex.dayofyear : Return the day of year of all indexes.
2081
+ PeriodIndex.day_of_year : Return the day of year of all indexes.
2082
2082
2083
2083
Examples
2084
2084
--------
2085
2085
>>> period = pd.Period("2015-10-23", freq='H')
2086
- >>> period.dayofyear
2086
+ >>> period.day_of_year
2087
2087
296
2088
2088
>>> period = pd.Period("2012-12-31", freq='D')
2089
- >>> period.dayofyear
2089
+ >>> period.day_of_year
2090
2090
366
2091
2091
>>> period = pd.Period("2013-01-01", freq='D')
2092
- >>> period.dayofyear
2092
+ >>> period.day_of_year
2093
2093
1
2094
2094
"""
2095
2095
base, mult = get_freq_code(self .freq)
@@ -2190,7 +2190,7 @@ cdef class _Period(object):
2190
2190
See Also
2191
2191
--------
2192
2192
Period.days_in_month : Return the days of the month.
2193
- Period.dayofyear : Return the day of the year.
2193
+ Period.day_of_year : Return the day of the year.
2194
2194
2195
2195
Examples
2196
2196
--------
0 commit comments