class_docstr: Numpy datasource, for reading and writing Numpy files.
code: def __init__(
      self,
      paths: Union[str, List[str]],
      numpy_load_args: Optional[Dict[str, Any]] = None,
      **file_based_datasource_kwargs,
  ):
      super().__init__(paths, **file_based_datasource_kwargs)
  
      if numpy_load_args is None:
          numpy_load_args = {}
  
      self.numpy_load_args = numpy_load_args
  
file_path: ray/python/ray/data/datasource/numpy_datasource.py
imports: from io import BytesIO
  from typing import TYPE_CHECKING, Any, Dict, Iterator, List, Optional, Union
  import numpy
  from ray.data.block import Block, BlockAccessor
  from ray.data.datasource.file_based_datasource import FileBasedDatasource
  from ray.util.annotations import PublicAPI
label_desc: Use image node_id 1 to create a new NumpyDatasource object from inherited base classes: FileBasedDatasource with example: obj = NumpyDatasource(paths, numpy_load_args)