Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ da
Function
da
xarray/tests/test_cftimeindex_resample.py:127–130 ·
view source on GitHub ↗
(index)
Source
from the content-addressed store, hash-verified
125
126
127
def
da(index) -> xr.DataArray:
128
return
xr.DataArray(
129
np.arange(100.0, 100.0 + index.size), coords=[index], dims=[
"time"
]
130
)
131
132
133
@pytest.mark.parametrize(
Callers
7
test_resample_with_tick_resample_freq
Function · 0.70
test_resample_with_non_tick_resample_freq
Function · 0.70
test_calendars
Function · 0.70
test_origin
Function · 0.70
test_invalid_offset_error
Function · 0.70
test_timedelta_offset
Function · 0.70
test_non_tick_option_warning
Function · 0.70
Calls
1
arange
Method · 0.80
Tested by
no test coverage detected