| [ Web Proxy ] |
| Viewing: https://arrow.apache.org/docs/python/generated/pyarrow.compute.CastOptions.html | [Back] [Original] |
Section Navigation
Bases: _CastOptions
Options for the cast function.
DataType, optionalThe PyArrow type to cast to.
FalseWhether integer overflow is allowed when casting.
FalseWhether time precision truncation is allowed when casting.
FalseWhether date/time range overflow is allowed when casting.
FalseWhether decimal precision truncation is allowed when casting.
FalseWhether floating-point precision truncation is allowed when casting.
FalseWhether producing invalid utf8 data is allowed when casting.
Methods
|
|
|
Deserialize options for a function. |
|
|
|
|
|
|
|
Attributes
Deserialize options for a function.
BufferThe buffer containing the data to deserialize.
Create a CastOptions for a safe cast.
Target cast type for the safe cast.
Create a CastOptions for an unsafe cast.
Target cast type for the unsafe cast.
CastOptionsCastOptions.__init__()CastOptions.allow_decimal_truncateCastOptions.allow_float_truncateCastOptions.allow_int_overflowCastOptions.allow_invalid_utf8CastOptions.allow_time_overflowCastOptions.allow_time_truncateCastOptions.deserialize()CastOptions.is_safe()CastOptions.safe()CastOptions.serialize()CastOptions.unsafe()
Copyright 2016-2026 Apache Software Foundation.
Apache Arrow, Arrow, Apache, the Apache logo, and the Apache Arrow project logo are either registered trademarks or trademarks of The Apache Software Foundation in the United States and other countries.
Created using Sphinx 9.1.0.
Built with the PyData Sphinx Theme 0.20.0.
| Web Proxy Viewer | New URL | Original Page |