Skip to content

Commit

Permalink
Remove check for mean in is_dataframe_like
Browse files Browse the repository at this point in the history
The cudf library doesn't yet support this.
  • Loading branch information
mrocklin committed Mar 29, 2019
1 parent c7d6024 commit 1c96c84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/dataframe/utils.py
Expand Up @@ -514,7 +514,7 @@ def is_dataframe_like(df):
""" Looks like a Pandas DataFrame """
typ = type(df)
return (all(hasattr(typ, name)
for name in ('groupby', 'head', 'merge', 'mean')) and
for name in ('groupby', 'head', 'merge')) and
all(hasattr(df, name) for name in ('dtypes',)) and not
any(hasattr(typ, name)
for name in ('value_counts', 'dtype')))
Expand Down

0 comments on commit 1c96c84

Please sign in to comment.