OptionalcategoricalWhether to allow casting categoricals to string. Default -> 'forbid'
OptionaldatetimeConfiguration for casting from datetime types:
nanosecond-downcast: Allow nanosecond precision datetime to be downcasted
to any lower precision.microsecond-downcast: Allow microsecond precision datetime to be
downcasted to millisecond precision.downcast: Allow downcasting to any lower precision (convenience aggregate
of nanosecond-downcast and microsecond-downcast).convert-timezone: Allow casting to a different timezone.forbid: Raises an error if dtypes do not match (default).OptionalextraBehavior when extra struct fields outside the defined schema are encountered. Default -> 'raise'
OptionalfloatConfiguration for casting from float types:
upcast: Allow casting to higher precision float types.downcast: Allow casting to lower precision float types.forbid: Raises an error if dtypes do not match (default).OptionalintegerConfiguration for casting from integer types:
upcast: Allow lossless casting to wider integer types.allow-float: Allow casting integers to float types.forbid: Raises an error if dtypes do not match (default).OptionalmissingBehavior when struct fields defined in the schema are missing from the data. Default -> 'raise'
Cast options applied when scanning files. Options for
See
ScanParquetOptions.castOptions