Redmind commited on
Commit
3e78c03
·
verified ·
1 Parent(s): 7d35d92

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -1180,7 +1180,8 @@ def handle_large_dataset(df, create_document,isDataFrame):
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:
1186
  limited_data = df.head(20)
 
1180
  # Filter the DataFrame to include only the required columns
1181
  #print(df[required_columns])
1182
  #limited_data = df[required_columns]
1183
+ limited_data11 = df.head(3)
1184
+ limited_data = limited_data11[required_columns]
1185
  limited_data_without_first_column = limited_data.iloc[:, 1:]
1186
  else:
1187
  limited_data = df.head(20)