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-likeSequence to infer type from. maskndarray (bool type), optionalOptional exclusion mask where True marks null, False non-null. from_pandasbool, default FalseUse pandas’s NA/null sentinel values for type inference. Returns: typeDataType