1.1.9. src.ml_pipeline.ML_supportΒΆ
Functions
finds a unique Path in a Dir |
|
Given a DF and a Path, export the dataframe to the location with specified instructions based on the file extension |
|
generates a template file and formats accordingly |
|
returns a sample of a dataframe with a given lenght |
|
Given a dictionary, turn it into a pandas DF with KEY and VALUE columns |
|
for a dataframe with keys and values, return a dictionary |
|
Given a Path, import a dataframe from the location with specified instructions based on the file extension |
|
Given "EXP", "HOME_AGE", return "EXP-HOME_AGE" |
|
Given EXP-HOME_AGE, return ("EXP", "HOME_AGE") |