The CSV Processor is a Python script that processes CSV files. It extracts specified columns and filters rows based on a given start date.
To use the CSV Processor, follow these steps:
-
Clone the repository to your local machine using Git:
git clone https://github.com/yourusername/csv-processor.git
-
Navigate to the project directory:
cd csv-processor
-
Install the required dependencies using pip:
pip install pandas
To generate the executable:
-
Navigate to the project directory where the
ing2actualCsv.py
file is located. -
Run the following command in the terminal:
pyinstaller --onefile ing2actualCsv.py
This will create a standalone executable file in the dist
directory within the project folder.
To debug the script using Visual Studio Code, you can use the following launch configuration:
{
"version": "0.2.0",
"configurations": [
{
"name": "Python Debugger: Current File with Arguments",
"type": "debugpy",
"request": "launch",
"program": "ing2actualCsv.py",
"console": "integratedTerminal",
"args": ["example.csv", "2024-03-05"],
"cwd": "${workspaceFolder}"
}
]
}
Replace "args": ["example.csv", "2024-03-05"]
with the appropriate arguments for your script.
Feel free to copy and paste these instructions for your project documentation. Let me know if you need further assistance!