Ganesh43 commited on
Commit
2d37223
1 Parent(s): 1a5d7bd

Update data_preprocessing.py

Browse files
Files changed (1) hide show
  1. data_preprocessing.py +1 -1
data_preprocessing.py CHANGED
@@ -20,6 +20,6 @@ def preprocess_csv(data):
20
 
21
  # Preprocess the data (replace with your specific logic)
22
  # Example: Combine relevant columns into a single string
23
- text = " ".join(df["column1"].tolist() + df["column2"].tolist())
24
 
25
  return text
 
20
 
21
  # Preprocess the data (replace with your specific logic)
22
  # Example: Combine relevant columns into a single string
23
+ text = " ".join(df[col].tolist() for col in df.columns)
24
 
25
  return text