Skip to content

Commit 0edff54

Browse files
Add autogenerated doc references
1 parent a4b88df commit 0edff54

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed

doc/redirects.csv

+10
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,9 @@ generated/pandas.DatetimeIndex.date,../reference/api/pandas.DatetimeIndex.date
542542
generated/pandas.DatetimeIndex.day,../reference/api/pandas.DatetimeIndex.day
543543
generated/pandas.DatetimeIndex.day_name,../reference/api/pandas.DatetimeIndex.day_name
544544
generated/pandas.DatetimeIndex.dayofweek,../reference/api/pandas.DatetimeIndex.dayofweek
545+
generated/pandas.DatetimeIndex.day_of_week,../reference/api/pandas.DatetimeIndex.day_of_week
545546
generated/pandas.DatetimeIndex.dayofyear,../reference/api/pandas.DatetimeIndex.dayofyear
547+
generated/pandas.DatetimeIndex.day_of_year,../reference/api/pandas.DatetimeIndex.day_of_year
546548
generated/pandas.DatetimeIndex.floor,../reference/api/pandas.DatetimeIndex.floor
547549
generated/pandas.DatetimeIndex.freq,../reference/api/pandas.DatetimeIndex.freq
548550
generated/pandas.DatetimeIndex.freqstr,../reference/api/pandas.DatetimeIndex.freqstr
@@ -839,7 +841,9 @@ generated/pandas.option_context,../reference/api/pandas.option_context
839841
generated/pandas.Period.asfreq,../reference/api/pandas.Period.asfreq
840842
generated/pandas.Period.day,../reference/api/pandas.Period.day
841843
generated/pandas.Period.dayofweek,../reference/api/pandas.Period.dayofweek
844+
generated/pandas.Period.day_of_week,../reference/api/pandas.Period.day_of_week
842845
generated/pandas.Period.dayofyear,../reference/api/pandas.Period.dayofyear
846+
generated/pandas.Period.day_of_year,../reference/api/pandas.Period.day_of_year
843847
generated/pandas.Period.days_in_month,../reference/api/pandas.Period.days_in_month
844848
generated/pandas.Period.daysinmonth,../reference/api/pandas.Period.daysinmonth
845849
generated/pandas.Period.end_time,../reference/api/pandas.Period.end_time
@@ -850,7 +854,9 @@ generated/pandas.Period,../reference/api/pandas.Period
850854
generated/pandas.PeriodIndex.asfreq,../reference/api/pandas.PeriodIndex.asfreq
851855
generated/pandas.PeriodIndex.day,../reference/api/pandas.PeriodIndex.day
852856
generated/pandas.PeriodIndex.dayofweek,../reference/api/pandas.PeriodIndex.dayofweek
857+
generated/pandas.PeriodIndex.day_of_week,../reference/api/pandas.PeriodIndex.day_of_week
853858
generated/pandas.PeriodIndex.dayofyear,../reference/api/pandas.PeriodIndex.dayofyear
859+
generated/pandas.PeriodIndex.day_of_year,../reference/api/pandas.PeriodIndex.day_of_year
854860
generated/pandas.PeriodIndex.days_in_month,../reference/api/pandas.PeriodIndex.days_in_month
855861
generated/pandas.PeriodIndex.daysinmonth,../reference/api/pandas.PeriodIndex.daysinmonth
856862
generated/pandas.PeriodIndex.end_time,../reference/api/pandas.PeriodIndex.end_time
@@ -993,7 +999,9 @@ generated/pandas.Series.dt.date,../reference/api/pandas.Series.dt.date
993999
generated/pandas.Series.dt.day,../reference/api/pandas.Series.dt.day
9941000
generated/pandas.Series.dt.day_name,../reference/api/pandas.Series.dt.day_name
9951001
generated/pandas.Series.dt.dayofweek,../reference/api/pandas.Series.dt.dayofweek
1002+
generated/pandas.Series.dt.day_of_week,../reference/api/pandas.Series.dt.day_of_week
9961003
generated/pandas.Series.dt.dayofyear,../reference/api/pandas.Series.dt.dayofyear
1004+
generated/pandas.Series.dt.day_of_year,../reference/api/pandas.Series.dt.day_of_year
9971005
generated/pandas.Series.dt.days,../reference/api/pandas.Series.dt.days
9981006
generated/pandas.Series.dt.days_in_month,../reference/api/pandas.Series.dt.days_in_month
9991007
generated/pandas.Series.dt.daysinmonth,../reference/api/pandas.Series.dt.daysinmonth
@@ -1326,7 +1334,9 @@ generated/pandas.Timestamp.date,../reference/api/pandas.Timestamp.date
13261334
generated/pandas.Timestamp.day,../reference/api/pandas.Timestamp.day
13271335
generated/pandas.Timestamp.day_name,../reference/api/pandas.Timestamp.day_name
13281336
generated/pandas.Timestamp.dayofweek,../reference/api/pandas.Timestamp.dayofweek
1337+
generated/pandas.Timestamp.day_of_week,../reference/api/pandas.Timestamp.day_of_week
13291338
generated/pandas.Timestamp.dayofyear,../reference/api/pandas.Timestamp.dayofyear
1339+
generated/pandas.Timestamp.day_of_year,../reference/api/pandas.Timestamp.day_of_year
13301340
generated/pandas.Timestamp.days_in_month,../reference/api/pandas.Timestamp.days_in_month
13311341
generated/pandas.Timestamp.daysinmonth,../reference/api/pandas.Timestamp.daysinmonth
13321342
generated/pandas.Timestamp.dst,../reference/api/pandas.Timestamp.dst

doc/source/reference/arrays.rst

+4
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Properties
6363
Timestamp.asm8
6464
Timestamp.day
6565
Timestamp.dayofweek
66+
Timestamp.day_of_week
6667
Timestamp.dayofyear
68+
Timestamp.day_of_year
6769
Timestamp.days_in_month
6870
Timestamp.daysinmonth
6971
Timestamp.fold
@@ -233,7 +235,9 @@ Properties
233235

234236
Period.day
235237
Period.dayofweek
238+
Period.day_of_week
236239
Period.dayofyear
240+
Period.day_of_year
237241
Period.days_in_month
238242
Period.daysinmonth
239243
Period.end_time

doc/source/reference/indexing.rst

+4
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,11 @@ Time/date components
345345
DatetimeIndex.time
346346
DatetimeIndex.timetz
347347
DatetimeIndex.dayofyear
348+
DatetimeIndex.day_of_year
348349
DatetimeIndex.weekofyear
349350
DatetimeIndex.week
350351
DatetimeIndex.dayofweek
352+
DatetimeIndex.day_of_week
351353
DatetimeIndex.weekday
352354
DatetimeIndex.quarter
353355
DatetimeIndex.tz
@@ -461,7 +463,9 @@ Properties
461463

462464
PeriodIndex.day
463465
PeriodIndex.dayofweek
466+
PeriodIndex.day_of_week
464467
PeriodIndex.dayofyear
468+
PeriodIndex.day_of_year
465469
PeriodIndex.days_in_month
466470
PeriodIndex.daysinmonth
467471
PeriodIndex.end_time

doc/source/reference/series.rst

+2
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,10 @@ Datetime properties
319319
Series.dt.week
320320
Series.dt.weekofyear
321321
Series.dt.dayofweek
322+
Series.dt.day_of_week
322323
Series.dt.weekday
323324
Series.dt.dayofyear
325+
Series.dt.day_of_year
324326
Series.dt.quarter
325327
Series.dt.is_month_start
326328
Series.dt.is_month_end

doc/source/user_guide/timeseries.rst

+2
Original file line numberDiff line numberDiff line change
@@ -803,9 +803,11 @@ There are several time/date properties that one can access from ``Timestamp`` or
803803
time,"Returns datetime.time (does not contain timezone information)"
804804
timetz,"Returns datetime.time as local time with timezone information"
805805
dayofyear,"The ordinal day of year"
806+
day_of_year,"The ordinal day of year"
806807
weekofyear,"The week ordinal of the year"
807808
week,"The week ordinal of the year"
808809
dayofweek,"The number of the day of the week with Monday=0, Sunday=6"
810+
day_of_week,"The number of the day of the week with Monday=0, Sunday=6"
809811
weekday,"The number of the day of the week with Monday=0, Sunday=6"
810812
quarter,"Quarter of the date: Jan-Mar = 1, Apr-Jun = 2, etc."
811813
days_in_month,"The number of days in the month of the datetime"

doc/source/whatsnew/v1.2.0.rst

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Enhancements
1414
~~~~~~~~~~~~
1515

1616
.. _whatsnew_120.improve_timeseries_accessor_naming:
17-
Improve Timeseries accessors Naming Convention
17+
Improve timeseries accessors naming convention
1818
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1919

2020
- Added ``day_of_week`` (compatibility alias ``dayofweek``) property to ``Timestamp``, ``DatetimeIndex``, ``Period``, ``PeriodIndex`` (:issue:`9605`)
@@ -26,9 +26,7 @@ Improve Timeseries accessors Naming Convention
2626
Optionally disallow duplicate labels
2727
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2828

29-
:class:`Series` and :class:`DataFrame` can now be created with ``allows_duplicate_labels=False`` flag to
30-
control whether the index or columns can contain duplicate labels (:issue:`28394`). This can be used to
31-
prevent accidental introduction of duplicate labels, which can affect downstream operations.
29+
:class:`Series` and :class:`DataFrame` can now be created with ``allows_duplicate_labels=False`` flag to control whether the index or columns can contain duplicate labels (:issue:`28394`). This can be used to prevent accidental introduction of duplicate labels, which can affect downstream operations.
3230

3331
By default, duplicates continue to be allowed
3432

0 commit comments

Comments
 (0)