Spaces:
Sleeping
Sleeping
Commit
·
61a050d
1
Parent(s):
42bd64f
Update app.py
Browse files
app.py
CHANGED
@@ -9,13 +9,16 @@ from yolopandas import pd
|
|
9 |
# import pandas as pd
|
10 |
import streamlit as st
|
11 |
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
21 |
|
|
|
|
|
|
9 |
# import pandas as pd
|
10 |
import streamlit as st
|
11 |
|
12 |
+
product_df = pd.DataFrame(
|
13 |
+
[
|
14 |
+
{"name": "The Da Vinci Code", "type": "book", "price": 15, "quantity": 300, "rating": 4},
|
15 |
+
{"name": "Jurassic Park", "type": "book", "price": 12, "quantity": 400, "rating": 4.5},
|
16 |
+
{"name": "Jurassic Park", "type": "film", "price": 8, "quantity": 6, "rating": 5},
|
17 |
+
{"name": "Matilda", "type": "book", "price": 5, "quantity": 80, "rating": 4},
|
18 |
+
{"name": "Clockwork Orange", "type": None, "price": None, "quantity": 20, "rating": 4},
|
19 |
+
{"name": "Walden", "type": None, "price": None, "quantity": 100, "rating": 4.5},
|
20 |
+
],
|
21 |
+
)
|
22 |
|
23 |
+
product_df
|
24 |
+
product_df.llm.query("Impute the type column with random fruits.")
|