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

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[col].tolist() for col in df.columns)
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(word for col in df.columns for word in df[col].tolist())
24
 
25
  return text