Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1178,8 +1178,8 @@ def handle_large_dataset(df, create_document,isDataFrame):
|
|
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 |
-
print(df[required_columns])
|
1182 |
-
limited_data = df[required_columns]
|
1183 |
limited_data = limited_data.head(3)
|
1184 |
limited_data_without_first_column = limited_data.iloc[:, 1:]
|
1185 |
else:
|
|
|
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 |
+
#print(df[required_columns])
|
1182 |
+
#limited_data = df[required_columns]
|
1183 |
limited_data = limited_data.head(3)
|
1184 |
limited_data_without_first_column = limited_data.iloc[:, 1:]
|
1185 |
else:
|