Glider
|
Public Member Functions | |
preprocessing (**kwargs) | |
getType (**kwargs) | |
getDate (**kwargs) | |
full_type (type) | |
Does specifics procedures for several templates. According the current format, it executes the right template from templates folder
Definition at line 3 of file TemplateManager.py.
src.importer.TemplateManager.TemplateManager.full_type | ( | type | ) |
Sets full name for 'type' column Args: type (str): A single letter Returns: full type (str)
Definition at line 177 of file TemplateManager.py.
src.importer.TemplateManager.TemplateManager.getDate | ( | ** | kwargs | ) |
Assign a date column according to format Args: df (pandas dataframe): current file loaded as dataframe type_format (str): format name of current file filename (dict): current filename Returns: Nothing
Definition at line 93 of file TemplateManager.py.
src.importer.TemplateManager.TemplateManager.getType | ( | ** | kwargs | ) |
Assign a custom column according to format Args: df (pandas dataframe): current file loaded as dataframe type_format (str): format name of current file filename (dict): current filename Returns: Nothing
Definition at line 58 of file TemplateManager.py.
src.importer.TemplateManager.TemplateManager.preprocessing | ( | ** | kwargs | ) |
Read the current file whit some tech details according to format Args: dir_file (str): s3 path where file is storage type_format (str): format name of current file file_features (dict): features required to load file session (boto3 obj): AWS client connection rel_col (str): indicates release_id column name Returns: Nothing
Definition at line 7 of file TemplateManager.py.