This pull request also adds a download_directory option for users to choose which directory to store the downloaded dataset files. By default, the value of this option is "download_dir". Related documents are also updated.
How was this tested?
Docs and comments were inspected manually.
The option of download_directory is tested by adding a new test in test_csv_preprocessor.py.
Describe the pull request
This pull request adds docstrings to
preprocess.py
andcsv_converter.py
to enhance the readability of the codes. The docstrings added follow PEP 257 and Google Python Style Guide (https://github.com/google/styleguide/blob/gh-pages/pyguide.md#s3.8.1-comments-in-doc-strings).This pull request also adds a
download_directory
option for users to choose which directory to store the downloaded dataset files. By default, the value of this option is "download_dir". Related documents are also updated.How was this tested? Docs and comments were inspected manually. The option of
download_directory
is tested by adding a new test intest_csv_preprocessor.py
.