Data

class moredata.models.Data

Data object represents a file like csv, json with a function to parser that file.

Parameters
  • parser_func (function) –

  • data_type (str) – type of data, the extension of file.

  • data_file (str) – where the data is.

parser_func
Type

function

data_type
Type

str

data_file
Type

str

enrichers

array of enrichers.

Type

array

add(enricher)

add enricher in enrichers attribute