MCPcopy Create free account
hub / github.com/dask/dask / is_object_string_series

Function is_object_string_series

dask/dataframe/_pyarrow.py:36–39  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

34
35
36def is_object_string_series(x) -> bool:
37 return isinstance(x, pd.Series) and (
38 is_object_string_dtype(x.dtype) or is_object_string_index(x.index)
39 )
40
41
42def is_object_string_dataframe(x) -> bool:

Callers 2

Calls 2

is_object_string_dtypeFunction · 0.85
is_object_string_indexFunction · 0.85

Tested by 1