This project demonstrates creating a dataset of salary vs years of experience and saving it safely into a CSV file. The script ensures the target folder exists before saving, preventing errors.
- Generates synthetic data for Years of Experience and Salary.
- Automatically creates
ds
folder if missing. - Saves data into
ds/Salary_Data.csv
. - Compatible with Python 3.13.7 and Windows.
- Clone the repository:
git clone https://github.com/shpjp/python-ds-project.git
cd python-ds-project