> For the complete documentation index, see [llms.txt](https://adamcysec.gitbook.io/csapp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://adamcysec.gitbook.io/csapp/overview/features/audit_pypi_info_db.py.md).

# audit\_pypi\_info\_db.py

This tool handles removing errors in records from the data set CSV

## Description

audit\_pypi\_info\_db.py was created to solve an issue I faced sometimes after updating the data set. Sometimes after updating, some records had their values placed in the wrong field, which caused Duck DB to return an error while attempting to read the CSV. Hopefully you will never need to run this tool, but if you do, note that this tool will create a new CSV file.

## Dependencies

* [argparse](https://pypi.org/project/argparse/)
  * `pip install argparse`

## Usage

Parameter **--file, -f**

* type : str
* path to data set CSV file

#### Example 1

```python
py audit_pypi_info_db.py -f "pypi_info_db.csv"
```

* audits the given data set CSV file
