arrow.cast_options
Module for [CastOptions] class
Types 3
Methods
CastOptions self()Returns `this`, for use in `with` statements.CastOptionsGidBuilder builder()Get builder for [arrow.cast_options.CastOptions] Returns: New builder objectbool allowDecimalTruncate() @propertyGet `allowDecimalTruncate` property. Returns: Whether truncating decimal value is allowed or not.void allowDecimalTruncate(bool propval) @propertySet `allowDecimalTruncate` property. Params: propval = Whether truncating decimal value is allowed or not.bool allowFloatTruncate() @propertyGet `allowFloatTruncate` property. Returns: Whether truncating float value is allowed or not.void allowFloatTruncate(bool propval) @propertySet `allowFloatTruncate` property. Params: propval = Whether truncating float value is allowed or not.bool allowIntOverflow() @propertyGet `allowIntOverflow` property. Returns: Whether integer overflow is allowed or not.void allowIntOverflow(bool propval) @propertySet `allowIntOverflow` property. Params: propval = Whether integer overflow is allowed or not.bool allowInvalidUtf8() @propertyGet `allowInvalidUtf8` property. Returns: Whether invalid UTF-8 string value is allowed or not.void allowInvalidUtf8(bool propval) @propertySet `allowInvalidUtf8` property. Params: propval = Whether invalid UTF-8 string value is allowed or not.bool allowTimeOverflow() @propertyGet `allowTimeOverflow` property. Returns: Whether time overflow is allowed or not.void allowTimeOverflow(bool propval) @propertySet `allowTimeOverflow` property. Params: propval = Whether time overflow is allowed or not.bool allowTimeTruncate() @propertyGet `allowTimeTruncate` property. Returns: Whether truncating time value is allowed or not.void allowTimeTruncate(bool propval) @propertySet `allowTimeTruncate` property. Params: propval = Whether truncating time value is allowed or not.arrow.data_type.DataType toDataType() @propertyGet `toDataType` property. Returns: The #GArrowDataType being casted to.void toDataType(arrow.data_type.DataType propval) @propertySet `toDataType` property. Params: propval = The #GArrowDataType being casted to.Methods
T allowDecimalTruncate(bool propval)Set `allowDecimalTruncate` property. Params: propval = Whether truncating decimal value is allowed or not. Returns: Builder instance for fluent chainingT allowFloatTruncate(bool propval)Set `allowFloatTruncate` property. Params: propval = Whether truncating float value is allowed or not. Returns: Builder instance for fluent chainingT allowIntOverflow(bool propval)Set `allowIntOverflow` property. Params: propval = Whether integer overflow is allowed or not. Returns: Builder instance for fluent chainingT allowInvalidUtf8(bool propval)Set `allowInvalidUtf8` property. Params: propval = Whether invalid UTF-8 string value is allowed or not. Returns: Builder instance for fluent chainingT allowTimeOverflow(bool propval)Set `allowTimeOverflow` property. Params: propval = Whether time overflow is allowed or not. Returns: Builder instance for fluent chainingT allowTimeTruncate(bool propval)Set `allowTimeTruncate` property. Params: propval = Whether truncating time value is allowed or not. Returns: Builder instance for fluent chainingT toDataType(arrow.data_type.DataType propval)Set `toDataType` property. Params: propval = The #GArrowDataType being casted to. Returns: Builder instance for fluent chainingFluent builder for [arrow.cast_options.CastOptions]
Methods