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

Class TestPatchPandas

hvplot/tests/testpatch.py:15–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14
15class TestPatchPandas(TestCase):
16 def setUp(self):
17 import hvplot.pandas # noqa
18
19 def test_pandas_series_patched(self):
20 series = pd.Series([0, 1, 2])
21 self.assertIsInstance(series.hvplot, hvPlotTabular)
22
23 def test_pandas_dataframe_patched(self):
24 df = pd.DataFrame([[1, 2], [3, 4], [5, 6]], columns=['x', 'y'])
25 self.assertIsInstance(df.hvplot, hvPlotTabular)
26
27
28class TestPatchDask(TestCase):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…