class_docstr: Test of the SpatialPandasInterface.
class_docstr_tok: ["Test","of","the","SpatialPandasInterface","."]
code: def test_point_constructor(self):
      points = Points(
          [{"x": 0, "y": 1}, {"x": 1, "y": 0}],
          ["x", "y"],
          datatype=[self.datatype],
      )
      self.assertIsInstance(points.data.geometry.dtype, PointDtype)
      self.assertEqual(
          points.data.iloc[0, 0].flat_values, np.array([0, 1])
      )
      self.assertEqual(
          points.data.iloc[1, 0].flat_values, np.array([1, 0])
      )
  
imports: from unittest import SkipTest
  import numpy
  from holoviews.core.data import DaskSpatialPandasInterface, Dataset, SpatialPandasInterface
  from holoviews.core.data.interface import DataError
  from holoviews.element import Path, Points, Polygons
  from holoviews.element.comparison import ComparisonTestCase
  from .test_multiinterface import GeomTests
label_desc: Use image node_id 3 for calling the SpatialPandasTest obj's underlying member method code with example usage: obj.test_point_constructor() without return types