IO
Input/Output related functions.
Functions:
| Name | Description |
|---|---|
dict_to_df |
Convert a nested dictionary to a dataframe. |
write_csv |
Write a dataframe to |
dict_to_df
dict_to_df(data)
write_csv
Write a dataframe to .csv file in output directory.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
DataFrame
|
Pandas dataframe to write to disk. |
required |
|
Path | str
|
Path where file is to be written. |
'output'
|
|
str
|
Filename for output, defaults to |
'results.csv'
|
|
bool
|
Whether to include the index or not. |
False
|