This PR changes data.py to audit.py and refactor's the workflow.
Additional Information
Added interactive mode: We added a new --interactive argument to the command-line interface. When this argument is set, the program enters an interactive mode where the user can select the columns to display and expand rows to view the full data.
Improved data exporting: The script can now export data in CSV or NDJSON format. The export file path and format are provided through command line arguments.
Added column selection: We enabled users to specify the columns to be displayed in the output, improving the readability of the data.
Improved error handling and input validation: We added better validation and error handling mechanisms. For instance, we added checks for invalid row numbers and column names.
Added support for data filtering: Users can now filter the data using the --filters argument.
Code refactoring and cleanup: We improved the code structure and readability by refactoring some code into separate methods and cleaning up unnecessary parts.
Improved data display: We modified the output format for better readability. The data is now printed to the console using the to_markdown method.
Added docstrings and type hinting: We added docstrings and type hinting to all methods to improve code readability and maintainability.
Overview
This PR changes
data.py
toaudit.py
and refactor's the workflow.Additional Information