File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -293,7 +293,9 @@ def __init__(
293
293
the formatting language used by :mod:`polars` datetime ``round`` method.
294
294
For example, a value ``1h`` expects all datetimes to be full hours. Note
295
295
that this setting does *not* affect the storage resolution.
296
- time_zone: The timezone that datetimes in the column must have.
296
+ time_zone: The time zone that datetimes in the column must have. The time
297
+ zone must use a valid IANA time zone name identifier e.x. ``Etc/UTC`` or
298
+ ``America/New_York``.
297
299
check: A custom check to run for this column. Must return a non-aggregated
298
300
boolean expression.
299
301
alias: An overwrite for this column's name which allows for using a column
Original file line number Diff line number Diff line change @@ -305,7 +305,9 @@ def sample_datetime(
305
305
max: The maximum datetime to sample (exclusive). '10000-01-01' when ``None``.
306
306
resolution: The resolution that datetimes in the column must have. This uses
307
307
the formatting language used by :mod:`polars` datetime ``round`` method.
308
- time_zone: The timezone that datetimes in the column must have.
308
+ time_zone: The time zone that datetimes in the column must have. The time
309
+ zone must use a valid IANA time zone name identifier e.x. ``Etc/UTC`` or
310
+ ``America/New_York``.
309
311
null_probability: The probability of an element being ``null``.
310
312
311
313
Returns:
You can’t perform that action at this time.
0 commit comments