Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dask/dask
/ compare
Function
compare
dask/dataframe/dask_expr/_expr.py:3190–3194 ·
view source on GitHub ↗
(s, df)
Source
from the content-addressed store, hash-verified
3188
""
"
3189
3190
def
compare(s, df):
3191
try
:
3192
return
s.divisions == (min(df.columns), max(df.columns))
3193
except
(TypeError, ValueError):
3194
return
False
3195
3196
return
(
3197
s.ndim == 1
Callers
3
is_broadcastable
Function · 0.85
test_read_hdf
Function · 0.85
test_properties
Method · 0.85
Calls
2
min
Function · 0.85
max
Function · 0.85
Tested by
2
test_read_hdf
Function · 0.68
test_properties
Method · 0.68