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

Function eq_dtypes

dask/dataframe/utils.py:638–641  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

636 eq_type_sets.append({"i", "f", "u"})
637
638 def eq_dtypes(a, b):
639 return any(
640 a.kind in eq_types and b.kind in eq_types for eq_types in eq_type_sets
641 ) or (a == b)
642
643 if not is_dask_collection(res) and is_dataframe_like(res):
644 for a, b in pd.concat([ddf._meta.dtypes, res.dtypes], axis=1).itertuples(

Callers 1

assert_dask_dtypesFunction · 0.85

Calls 1

anyFunction · 0.85

Tested by

no test coverage detected