MCPcopy Create free account
hub / github.com/dask/dask / make_reader

Function make_reader

dask/dataframe/io/csv.py:714–745  ·  view source on GitHub ↗
(reader, reader_name, file_type)

Source from the content-addressed store, hash-verified

712
713
714def make_reader(reader, reader_name, file_type):
715 def read(
716 urlpath,
717 blocksize="default",
718 lineterminator=None,
719 compression="infer",
720 sample=256000,
721 sample_rows=10,
722 enforce=False,
723 assume_missing=False,
724 storage_options=None,
725 include_path_column=False,
726 **kwargs,
727 ):
728 return read_pandas(
729 reader,
730 urlpath,
731 blocksize=blocksize,
732 lineterminator=lineterminator,
733 compression=compression,
734 sample=sample,
735 sample_rows=sample_rows,
736 enforce=enforce,
737 assume_missing=assume_missing,
738 storage_options=storage_options,
739 include_path_column=include_path_column,
740 **kwargs,
741 )
742
743 read.__doc__ = READ_DOC_TEMPLATE.format(reader=reader_name, file_type=file_type)
744 read.__name__ = reader_name
745 return read
746
747
748read_csv = dataframe_creation_dispatch.register_inplace(

Callers 1

csv.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected