Skip to content

DOC: GL08 errors in pandas.Timestamp #48632

Open
@Sherry3

Description

@Sherry3

Pandas version checks

  • I have checked that the issue still exists on the latest versions of the docs on main here

Location of the documentation

https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.day.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.fold.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.hour.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.microsecond.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.minute.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.month.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.nanosecond.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.second.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.tzinfo.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.value.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.year.html
https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.freq.html

Documentation problem

Below are the GL08 errors in pandas.Timestamp: -

None:None:GL08:pandas.Timestamp.day:The object does not have a docstring
None:None:GL08:pandas.Timestamp.fold:The object does not have a docstring
None:None:GL08:pandas.Timestamp.hour:The object does not have a docstring
None:None:GL08:pandas.Timestamp.microsecond:The object does not have a docstring
None:None:GL08:pandas.Timestamp.minute:The object does not have a docstring
None:None:GL08:pandas.Timestamp.month:The object does not have a docstring
None:None:GL08:pandas.Timestamp.nanosecond:The object does not have a docstring
None:None:GL08:pandas.Timestamp.second:The object does not have a docstring
None:None:GL08:pandas.Timestamp.tzinfo:The object does not have a docstring
None:None:GL08:pandas.Timestamp.value:The object does not have a docstring
None:None:GL08:pandas.Timestamp.year:The object does not have a docstring
None:None:GL08:pandas.Timestamp.freq:The object does not have a docstring

Suggested fix for documentation

Adding description and examples. Similar to week.

week Return the week number of the year.

https://pandas.pydata.org/docs/reference/api/pandas.Timestamp.week.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocsTimestamppd.Timestamp and associated methods

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions