Data

class dataprofiler.data_readers.data.Data(input_file_path=None, data=None, data_type=None, options=None)

Bases: object

Factory Data class. Auto-detection of data type if not specified for input files. Returns the proper data class or specified data class for the given data or input file.

Parameters
  • input_file_path

  • data

  • data_type

  • options

Returns

data_classes = [{'data_class': <class 'dataprofiler.data_readers.json_data.JSONData'>, 'kwargs': {}}, {'data_class': <class 'dataprofiler.data_readers.csv_data.CSVData'>, 'kwargs': {}}, {'data_class': <class 'dataprofiler.data_readers.parquet_data.ParquetData'>, 'kwargs': {}}, {'data_class': <class 'dataprofiler.data_readers.avro_data.AVROData'>, 'kwargs': {}}, {'data_class': <class 'dataprofiler.data_readers.text_data.TextData'>, 'kwargs': {}}]