Need Script to Generate CSV Files and Manage .gitignore #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
We need a Python script to automatically generate dummy CSV files with a specific folder structure for testing purposes. Each CSV should include a timestamp and value column, with the CSVs stored in a hierarchical folder structure under the
datadirectory.Requirements
CSV Generation:
TimeandValue.Timeshould be a timestamp with millisecond precision.Valueshould be a random float.data), with subdirectories forrawandprocessed. Theprocesseddirectory should further include directories for different damage levels (DAMAGE_1toDAMAGE_5), each containing 10 test CSV files (TEST1toTEST10).Folder and File Naming:
Dx_TESTy.csvwhere x is the damage number and y is the test number..gitignore Configuration:
Example Folder Structure
Expected Outcome
.gitignorefile configured to ignore all CSV files.This setup will facilitate the generation and management of test data without cluttering our repository with large data files.
Feel free to copy this markdown and use it as needed!