Update app.py
Browse files
app.py
CHANGED
@@ -230,8 +230,7 @@ import uuid
|
|
230 |
# df.dtypes
|
231 |
{new_line.join(map(lambda x: '# '+x, str(df_check.dtypes).split(new_line)))}
|
232 |
|
233 |
-
{
|
234 |
-
```
|
235 |
"""
|
236 |
query = f"""I have a pandas dataframe data of PM2.5 and PM10.
|
237 |
* The columns are 'Timestamp', 'station', 'PM2.5', 'PM10', 'address', 'city', 'latitude', 'longitude',and 'state'.
|
|
|
230 |
# df.dtypes
|
231 |
{new_line.join(map(lambda x: '# '+x, str(df_check.dtypes).split(new_line)))}
|
232 |
|
233 |
+
{'\n'.join(['# '+line for line in prompt.strip().split('\n')])}
|
|
|
234 |
"""
|
235 |
query = f"""I have a pandas dataframe data of PM2.5 and PM10.
|
236 |
* The columns are 'Timestamp', 'station', 'PM2.5', 'PM10', 'address', 'city', 'latitude', 'longitude',and 'state'.
|