DatAnalyzer.pipeline.formatters module

class DatAnalyzer.pipeline.formatters.Data_Formating(path)[source]

Bases: object

This class is used to format the data

import_data(columns_name=None)[source]

Import the data from the path provided in the constructor.

Parameters:

columns_name (list) – List of the columns name

Returns:

Dataframe with the data

Return type:

pandas.DataFrame

Raises:

ValueError – If the extension is not .csv or .data