Skip to content

Commit

Permalink
whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian committed Aug 23, 2019
1 parent 7d778cc commit 0f989f7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion xarray/core/variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def _as_array_or_item(data):
TODO: remove this (replace with np.asarray) once these issues are fixed
"""
data = np.asarray(data)

if data.ndim == 0:
if data.dtype.kind == "M":
data = np.datetime64(data, "ns")
Expand Down

0 comments on commit 0f989f7

Please sign in to comment.