Update main.py
Browse files
main.py
CHANGED
@@ -35,6 +35,8 @@ def bot():
|
|
35 |
#
|
36 |
json_table = request.json.get("json_table")
|
37 |
user_question = request.json.get("user_question")
|
|
|
|
|
38 |
df = pd.DataFrame(json_table)
|
39 |
#df['Profit'] = df['Profit'].apply(lambda x: "R{:.1f}".format((x)))
|
40 |
#df['Revenue'] = df['Revenue'].apply(lambda x: "R{:.1f}".format((x)))
|
|
|
35 |
#
|
36 |
json_table = request.json.get("json_table")
|
37 |
user_question = request.json.get("user_question")
|
38 |
+
print(json_table)
|
39 |
+
print(user_question)
|
40 |
df = pd.DataFrame(json_table)
|
41 |
#df['Profit'] = df['Profit'].apply(lambda x: "R{:.1f}".format((x)))
|
42 |
#df['Revenue'] = df['Revenue'].apply(lambda x: "R{:.1f}".format((x)))
|