Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Mar 16, 2019
1 parent c28c797 commit a3c179c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/dataframe/utils.py
Expand Up @@ -407,7 +407,7 @@ def _nonempty_index(idx):
start = np.timedelta64(1, 'D')
data = [start, start + 1] if idx.freq is None else None
return pd.TimedeltaIndex(data, start=start, periods=2,
freq=idx.freq, name=idx.name)
freq=idx.freq, name=idx.name)
elif typ is pd.CategoricalIndex:
if len(idx.categories) == 0:
data = pd.Categorical(_nonempty_index(idx.categories),
Expand Down

0 comments on commit a3c179c

Please sign in to comment.