Skip to content

Commit d22149d

Browse files
committed
Fix error
1 parent 5a40360 commit d22149d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

streamz/dataframe/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ def is_dataframe_like(df):
22
""" Looks like a Pandas DataFrame. ** Borrowed from dask.dataframe.utils ** """
33
typ = type(df)
44
return (all(hasattr(typ, name)
5-
for name in ('groupby', 'head', 'merge', 'mean')
5+
for name in ('groupby', 'head', 'merge', 'mean'))
66
and all(hasattr(df, name) for name in ('dtypes',))
77
and not any(hasattr(typ, name)
8-
for name in ('value_counts', 'dtype'))))
8+
for name in ('value_counts', 'dtype')))
99

1010

1111
def is_series_like(s):

0 commit comments

Comments
 (0)