torcharrow icon indicating copy to clipboard operation
torcharrow copied to clipboard

Call type inferring in interop.from_pylist

Open OswinC opened this issue 3 years ago • 0 comments
trafficstars

interop.from_pylist has the dtype argument default to None, which must be a DType instance before passing to Scope.default._FromPyList. https://github.com/facebookresearch/torcharrow/blob/main/torcharrow/interop.py#L40 This issue is to fix it so a dtype is automatically inferred from the data when the argument is a None. Hint: infer_dtype_from_prefix

OswinC avatar Nov 23 '21 22:11 OswinC