bezaime commited on
Commit
7cff7cb
·
verified ·
1 Parent(s): feba6f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ df = df.drop(columns = ['normalized-losses','symboling'], axis = 1)
6
  context_data = []
7
  for i in range(len(df)): # Loop over rows
8
  context = ""
9
- for j in range(10): # Loop over the first 8 columns
10
  context += df.columns[j] # Add column name
11
  context += ": "
12
  context += str(df.iloc[i][j]) # Convert value to string
 
6
  context_data = []
7
  for i in range(len(df)): # Loop over rows
8
  context = ""
9
+ for j in range(24): # Loop over the first 8 columns
10
  context += df.columns[j] # Add column name
11
  context += ": "
12
  context += str(df.iloc[i][j]) # Convert value to string