blaa1997 commited on
Commit
abe6d75
·
verified ·
1 Parent(s): 1d0672c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -14,30 +14,30 @@ for i in range(len(df)):
14
  context += " "
15
  context_data.append(context)
16
 
17
- # context_data # Initialize the list to store context data
18
-
19
- # for i in range(len(df1)): # Iterate through the rows of df1
20
- # context = ""
21
- # for j in range(19): # Iterate through the first 19 columns
22
- # context += df1.columns[j] # Add the column name
23
- # context += ": "
24
- # context += str(df1.iloc[i][j]) # Convert the value to a string
25
- # context += " " # Add a space between entries
26
- # context_data.append(context) # Append the generated context to the list
27
-
28
-
29
  context_data # Initialize the list to store context data
30
 
31
- for i in range(len(df11)): # Iterate through the rows of df1
32
  context = ""
33
- for j in range(17): # Iterate through the first 19 columns
34
- context += df11.columns[j] # Add the column name
35
  context += ": "
36
- context += str(df11.iloc[i][j]) # Convert the value to a string
37
  context += " " # Add a space between entries
38
  context_data.append(context) # Append the generated context to the list
39
 
40
 
 
 
 
 
 
 
 
 
 
 
 
 
41
 
42
  import os
43
 
 
14
  context += " "
15
  context_data.append(context)
16
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  context_data # Initialize the list to store context data
18
 
19
+ for i in range(len(df1)): # Iterate through the rows of df1
20
  context = ""
21
+ for j in range(19): # Iterate through the first 19 columns
22
+ context += df1.columns[j] # Add the column name
23
  context += ": "
24
+ context += str(df1.iloc[i][j]) # Convert the value to a string
25
  context += " " # Add a space between entries
26
  context_data.append(context) # Append the generated context to the list
27
 
28
 
29
+ # context_data # Initialize the list to store context data
30
+
31
+ # for i in range(len(df11)): # Iterate through the rows of df1
32
+ # context = ""
33
+ # for j in range(17): # Iterate through the first 19 columns
34
+ # context += df11.columns[j] # Add the column name
35
+ # context += ": "
36
+ # context += str(df11.iloc[i][j]) # Convert the value to a string
37
+ # context += " " # Add a space between entries
38
+ # context_data.append(context) # Append the generated context to the list
39
+
40
+
41
 
42
  import os
43