code: def from_shapefile(cls, shapefile, *args, **kwargs):
          
          reader = Reader(shapefile)
          return cls.from_records(reader.records(), *args, **kwargs)
docs: Loads a shapefile from disk and optionally merges
          it with a dataset. See ``from_records`` for full
          signature.
  
          Parameters
          ----------
          records: list of cartopy.io.shapereader.Record
             Iterator containing Records.
          dataset: holoviews.Dataset
             Any HoloViews Dataset type.
          on: str or list or dict
            A mapping between the attribute names in the records and the
            dimensions in the dataset.
          value: str
            The value dimension in the dataset the values will be drawn
            from.
          index: str or list
            One or more dimensions in the dataset the Shapes will be
            indexed by.
          drop_missing: boolean
            Whether to drop shapes which are missing from the provides
            dataset.
  
          Returns
          -------
          shapes: Polygons or Path object
            A Polygons or Path object containing the geometries