From fb315fc848b57a2436dbb64cf769f30bdbf3a459 Mon Sep 17 00:00:00 2001
From: Dhruvang Patel <dhruvang.patel@stud.th-deg.de>
Date: Sun, 26 Jan 2025 12:01:36 +0100
Subject: [PATCH] Update Add_Fake_data.py

---
 Add_Fake_data.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Add_Fake_data.py b/Add_Fake_data.py
index edabe632..b19c652e 100644
--- a/Add_Fake_data.py
+++ b/Add_Fake_data.py
@@ -41,7 +41,7 @@ def add_fake_data_to_csv(file_path, output_path):
         # Read the original CSV file
         df = pd.read_csv(file_path)
 
-        # Determine the number of fake rows (25% of the original data)
+        # Added 25% realistic fake data
         num_rows_to_add = int(0.25 * len(df))
 
         # Create a dictionary to store fake data
@@ -52,14 +52,14 @@ def add_fake_data_to_csv(file_path, output_path):
         # Create a DataFrame for the fake data
         fake_df = pd.DataFrame(fake_data)
 
-        # Append the fake data to the original DataFrame
+        
         combined_df = pd.concat([df, fake_df], ignore_index=True)
 
         # Save the updated DataFrame to a new CSV file
         combined_df.to_csv(output_path, index=False)
     except Exception as e:
 
-# Example usage
+
 # Specify the input and output file paths
       input_csv = "Airline_Dataset.csv"  # Replace with the path to your input CSV file
       output_csv =  "FakeDataset.csv" # Replace with the desired output file path
-- 
GitLab