Closed kphaterp closed 2 years ago
@kphaterp Please make the following changes and try.
"""This script constructs various exploratory data visualizations,
and tables.
Usage: eda.py --data_path=<data_path> --outputfile=<outputfile>
Options:
--data_path=<data_path> The path to read the data in from.
--outputfile=<outputfile> The path to save the images to.
"""
if __name__ == "__main__":
data_path = opt["--data_path"]
output_file = opt["--outputfile"]
main(data_path, output_file)
Merging it now. I will push the changes in a separate pull request.
I've added the eda script. Unfortunately, I was having issues with importing docopt (which I will be going to office hours in the coming days to resolve) so I was not able to test whether the script works with docopt.
However, I tested the remainder of the code by manually inputting the paths to read the data and save the figure png's and the remainder of the code is working. If someone could test whether the script is working as intended with docopt, that would be great.