[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../api/../generated/pyarrow.infer_type.html [Back]  [Original]

pyarrow.infer_type — Apache Arrow v25.0.1
Back to top
Search the docs ...:

pyarrow.infer_type#

pyarrow.infer_type(values, mask=None, from_pandas=False)#

Attempt to infer Arrow data type that can hold the passed Python sequence type in an Array object

Parameters:
valuesarray-like

Sequence to infer type from.

maskndarray (bool type), optional

Optional exclusion mask where True marks null, False non-null.

from_pandasbool, default False

Use pandass NA/null sentinel values for type inference.

Returns:
typeDataType

Web Proxy Viewer  |  New URL  |  Original Page