You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cast array values to another data type. Can also be invoked as an array
instance method.
Parameters
----------
arr : Array-like
target_type : DataType or str
Type to cast to
safe : bool, default True
Check for overflows or other unsafe conversions
Same in Array.cast, ChunkedArray.cast, RecordBatch.cast, Table.cast, Scalar.cast and Expression.cast.
None does get turned into True unless options is given but I would think the default should still match. Maybe we could use None in the docstring also and add "None behaves like True." note?
Activity