code: def read_text(
      filepath_or_buffer,
      delimiter=None,
      byte_range=None,
      strip_delimiters=False,
      compression=None,
      compression_offsets=None,
      storage_options=None,
  ):
      """{docstring}"""
  
      if delimiter is None:
          raise ValueError("delimiter needs to be provided")
  
      filepath_or_buffer, _ = ioutils.get_reader_filepath_or_buffer(
          path_or_data=filepath_or_buffer,
          compression=None,
          iotypes=(BytesIO, StringIO),
          storage_options=storage_options,
      )
  
      return cudf.Series._from_data(
          libtext.read_text(
              filepath_or_buffer,
              delimiter=delimiter,
              byte_range=byte_range,
              strip_delimiters=strip_delimiters,
              compression=compression,
              compression_offsets=compression_offsets,
          )
      )
  
imports: from io import BytesIO, StringIO
  import cudf
  from cudf._lib import text
  from cudf.utils import ioutils
  from cudf.utils.nvtx_annotation import _cudf_nvtx_annotate
label_desc: Use image node_id 1 for calling a global function with example usage: read_text(filepath_or_buffer, delimiter, byte_range, strip_delimiters, compression, compression_offsets, storage_options) and returns: cudf