parameters: (data)
docstring: Extract data from dask.Series or dask.DataFrame for predictors.
docstring_summary: Extract data from dask.Series or dask.DataFrame for predictors.
docstring_tokens: Extract data from dask . Series or dask . DataFrame for predictors .
function: def extract_dask_data(data):
    """Extract data from dask.Series or dask.DataFrame for predictors."""
    if isinstance(data, allowed_classes):
      return _construct_dask_df_with_divisions(data)
    else:
      return data
function_tokens: def extract_dask_data ( data ) : if isinstance ( data , allowed_classes ) : return _construct_dask_df_with_divisions ( data ) else : return data