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

Function is_object_string_dataframe

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

Source from the content-addressed store, hash-verified

40
41
42def is_object_string_dataframe(x) -> bool:
43 return isinstance(x, pd.DataFrame) and (
44 any(is_object_string_series(s) for _, s in x.items())
45 or is_object_string_index(x.index)
46 )
47
48
49def _to_string_dtype(df, dtype_check, index_check, string_dtype):

Callers 1

Calls 4

anyFunction · 0.85
is_object_string_seriesFunction · 0.85
is_object_string_indexFunction · 0.85
itemsMethod · 0.45

Tested by 1