MCPcopy Create free account
hub / github.com/holoviz/hvplot / is_xarray

Function is_xarray

hvplot/util.py:615–620  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

613
614
615def is_xarray(data):
616 if not check_library(data, 'xarray'):
617 return False
618 from xarray import DataArray, Dataset
619
620 return isinstance(data, (DataArray, Dataset))
621
622
623def is_lazy_data(data):

Callers 6

__init__Method · 0.85
_process_symmetricMethod · 0.85
_process_dataMethod · 0.85
_process_gridded_argsMethod · 0.85
from_dataMethod · 0.85

Calls 1

check_libraryFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…