Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1176,7 +1176,7 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
| 1176 |
if len(df.columns) > 1:
|
| 1177 |
# Skipping the original first column
|
| 1178 |
# List of required columns
|
| 1179 |
-
required_columns = ['
|
| 1180 |
# Filter the DataFrame to include only the required columns
|
| 1181 |
df = df[required_columns]
|
| 1182 |
limited_data = df.head(3)
|
|
|
|
| 1176 |
if len(df.columns) > 1:
|
| 1177 |
# Skipping the original first column
|
| 1178 |
# List of required columns
|
| 1179 |
+
required_columns = ['BROKER', 'ACCOUNT NUMBER', 'EMPLOYEE NAME', 'ACCOUNT NAME', 'ACCOUNT ID']
|
| 1180 |
# Filter the DataFrame to include only the required columns
|
| 1181 |
df = df[required_columns]
|
| 1182 |
limited_data = df.head(3)
|