A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pandas.pydata.org/pandas-docs/stable/reference/api/../api/pandas.Period.week.html below:

pandas.Period.week — pandas 2.3.1 documentation

pandas.Period.week#
Period.week#

Get the week of the year on the given Period.

Returns:
int

See also

Period.dayofweek

Get the day component of the Period.

Period.weekday

Get the day component of the Period.

Examples

>>> p = pd.Period("2018-03-11", "h")
>>> p.week
10
>>> p = pd.Period("2018-02-01", "D")
>>> p.week
5
>>> p = pd.Period("2018-01-06", "D")
>>> p.week
1

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4