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

Method from_data

hvplot/ui.py:539–547  ·  view source on GitHub ↗
(cls, data, **params)

Source from the content-addressed store, hash-verified

537
538 @classmethod
539 def from_data(cls, data, **params):
540 if is_geodataframe(data):
541 # cls = hvGeomExplorer
542 raise TypeError('GeoDataFrame objects not yet supported.')
543 elif is_xarray(data):
544 cls = hvGridExplorer
545 else:
546 cls = hvDataFrameExplorer
547 return cls(data, **params)
548
549 def __panel__(self):
550 return self._layout

Callers 1

explorerFunction · 0.80

Calls 2

is_geodataframeFunction · 0.85
is_xarrayFunction · 0.85

Tested by

no test coverage detected