Skip to content

Commit

Permalink
Format code with Black
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsource-autofix[bot] committed Jul 28, 2020
1 parent 61bde1d commit 4f30740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dask/dataframe/core.py
Expand Up @@ -5665,7 +5665,7 @@ def _last_valid(s):
val = s.iloc[-i]
if not pd.isnull(val):
return val

nonnull = s[s.notna()]
if not nonnull.empty:
return nonnull.iloc[-1]
Expand Down
2 changes: 1 addition & 1 deletion dask/dataframe/io/parquet/core.py
Expand Up @@ -511,7 +511,7 @@ def get_engine(engine):
return get_engine(eng)
except RuntimeError:
pass

raise RuntimeError("Please install either fastparquet or pyarrow")

elif engine == "fastparquet":
Expand Down

0 comments on commit 4f30740

Please sign in to comment.