Ganesh43 commited on
Commit
9d0f8b1
1 Parent(s): 07ad780

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