We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
"D"
1 parent 56209bd commit b518074Copy full SHA for b518074
xarray/tests/test_missing.py
@@ -84,7 +84,7 @@ def make_interpolate_example_data(shape, frac_nan, seed=12345, non_uniform=False
84
85
if non_uniform:
86
# construct a datetime index that has irregular spacing
87
- deltas = pd.to_timedelta(rs.normal(size=shape[0], scale=10), unit="d")
+ deltas = pd.to_timedelta(rs.normal(size=shape[0], scale=10), unit="D")
88
coords = {"time": (pd.Timestamp("2000-01-01") + deltas).sort_values()}
89
else:
90
coords = {"time": pd.date_range("2000-01-01", freq="D", periods=shape[0])}
0 commit comments