File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
260
260
-i " pandas.Timestamp.to_period PR01,SA01" \
261
261
-i " pandas.Timestamp.today SA01" \
262
262
-i " pandas.Timestamp.toordinal SA01" \
263
- -i " pandas.Timestamp.tz SA01" \
264
263
-i " pandas.Timestamp.tz_localize SA01" \
265
264
-i " pandas.Timestamp.tzinfo GL08" \
266
265
-i " pandas.Timestamp.tzname SA01" \
Original file line number Diff line number Diff line change @@ -2368,6 +2368,17 @@ timedelta}, default 'raise'
2368
2368
"""
2369
2369
Alias for tzinfo.
2370
2370
2371
+ The `tz` property provides a simple and direct way to retrieve the timezone
2372
+ information of a `Timestamp` object. It is particularly useful when working
2373
+ with time series data that includes timezone information, allowing for easy
2374
+ access and manipulation of the timezone context.
2375
+
2376
+ See Also
2377
+ --------
2378
+ Timestamp.tzinfo : Returns the timezone information of the Timestamp.
2379
+ Timestamp.tz_convert : Convert timezone-aware Timestamp to another time zone.
2380
+ Timestamp.tz_localize : Localize the Timestamp to a timezone.
2381
+
2371
2382
Examples
2372
2383
--------
2373
2384
>>> ts = pd.Timestamp(1584226800, unit='s', tz='Europe/Stockholm')
You can’t perform that action at this time.
0 commit comments