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

Function _is_column_label_reference

dask/dataframe/multi.py:278–279  ·  view source on GitHub ↗
(df, key)

Source from the content-addressed store, hash-verified

276 """
277
278 def _is_column_label_reference(df, key):
279 return (np.isscalar(key) or isinstance(key, tuple)) and key in df.columns
280
281 # Ensure columns_or_index is a list
282 columns_or_index = (

Callers 1

_select_columns_or_indexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected