From a3c179c421dad109a7f7de89a397fe23a57cc97b Mon Sep 17 00:00:00 2001 From: Matthew Rocklin Date: Sat, 16 Mar 2019 12:00:58 -0700 Subject: [PATCH] flake8 --- dask/dataframe/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dask/dataframe/utils.py b/dask/dataframe/utils.py index 5528ac7507c..ae2b91dcf68 100644 --- a/dask/dataframe/utils.py +++ b/dask/dataframe/utils.py @@ -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),