Update app.py
Browse files
app.py
CHANGED
@@ -48,8 +48,8 @@ conn.close()
|
|
48 |
'''
|
49 |
|
50 |
# Create a sample DataFrame with 3,000 records and 20 columns
|
51 |
-
|
52 |
-
num_records =
|
53 |
num_columns = 20
|
54 |
|
55 |
data = {
|
@@ -64,13 +64,13 @@ cities = ["New York", "Los Angeles", "Chicago", "Houston", "Miami"] # List of c
|
|
64 |
#data["city"] = [random.choice(cities) for _ in range(num_records)]
|
65 |
|
66 |
table = pd.DataFrame(data)
|
67 |
-
|
68 |
|
69 |
data = {
|
70 |
"year": [1896, 1900, 1904, 2004, 2008, 2012],
|
71 |
"city": ["athens", "paris", "st. louis", "athens", "beijing", "london"]
|
72 |
}
|
73 |
-
table = pd.DataFrame.from_dict(data)
|
74 |
|
75 |
|
76 |
# Load the chatbot model
|
|
|
48 |
'''
|
49 |
|
50 |
# Create a sample DataFrame with 3,000 records and 20 columns
|
51 |
+
|
52 |
+
num_records = 30
|
53 |
num_columns = 20
|
54 |
|
55 |
data = {
|
|
|
64 |
#data["city"] = [random.choice(cities) for _ in range(num_records)]
|
65 |
|
66 |
table = pd.DataFrame(data)
|
67 |
+
|
68 |
|
69 |
data = {
|
70 |
"year": [1896, 1900, 1904, 2004, 2008, 2012],
|
71 |
"city": ["athens", "paris", "st. louis", "athens", "beijing", "london"]
|
72 |
}
|
73 |
+
#table = pd.DataFrame.from_dict(data)
|
74 |
|
75 |
|
76 |
# Load the chatbot model
|