pandasx / ToDatetimeOptions
Interface: ToDatetimeOptions
Defined in: src/datetimes.ts:14
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
dayfirst? | boolean | Parse ambiguous 01/02/2024 as 1 February. | src/datetimes.ts:22 |
errors? | "raise" | "coerce" | 'raise' (default) throws on bad input, 'coerce' turns it into NaT. | src/datetimes.ts:18 |
format? | string | strptime format, e.g. '%d/%m/%Y %H:%M'. | src/datetimes.ts:16 |
unit? | DateUnit | Unit of numeric input (default 'ms'). | src/datetimes.ts:24 |
utc? | boolean | Return tz-aware UTC datetimes (strings with offsets are converted). | src/datetimes.ts:20 |