Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
def
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
42
def
is_object_string_dataframe(x) -> bool:
Callers
2
test_is_object_string_series
Function · 0.90
is_object_string_dataframe
Function · 0.85
Calls
2
is_object_string_dtype
Function · 0.85
is_object_string_index
Function · 0.85
Tested by
1
test_is_object_string_series
Function · 0.72