Spaces:
Sleeping
Sleeping
Update data_preprocessing.py
Browse files- 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
|
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
|