Update app.py
Browse files
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 |
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
|