Profile
load_file_with_pandas(file_path, file_name, extension, sep=None)
Read data from file using pandas.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
file_path
|
str
|
Folder where the structure data is. |
required |
file_name
|
str
|
Name of the file. |
required |
extension
|
str
|
Extension of the file. |
required |
sep
|
str | None
|
Separator of the plain text file.. Defaults to None. |
None
|
Returns:
Type | Description |
---|---|
DataFrame
|
pd.DataFrame: DataFrame with the data read. |
Source code in src/afes/profile.py
profile_with_sweetviz(df_to_profile, file_name, output_path='.')
Generate exploratory report using sweetviz
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df_to_profile
|
DataFrame
|
Data to be profiled. |
required |
file_name
|
str
|
Name of the file. |
required |
output_path
|
str | Path
|
Folder to save the HTML report. Defaults to ".". |
'.'
|
Source code in src/afes/profile.py
profile_with_ydata_profiling(df_to_profile, output_path, file_name, file_size)
Profile dataframe using ydata-profiling and saves ther report to disk.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df_to_profile
|
DataFrame
|
Data to be profiled. |
required |
output_path
|
str | Path
|
Folder to save the report. |
required |
file_name
|
str
|
File name. |
required |
file_size
|
int
|
File size. |
required |