Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pydata/xarray
/ __post_init__
Method
__post_init__
xarray/groupers.py:401–403 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
399
)
400
401
def
__post_init__(self) -> None:
402
if
array_all(isnull(self.bins)):
403
raise
ValueError(
"All bin edges are NaN."
)
404
405
def
_cut(self, data):
406
return
pd.cut(
Callers
nothing calls this directly
Calls
2
array_all
Function · 0.90
isnull
Function · 0.90
Tested by
no test coverage detected