Spaces:
Runtime error
Runtime error
gauravlochab
commited on
Commit
·
0901a85
1
Parent(s):
bbe9a16
date fix
Browse files
app.py
CHANGED
@@ -125,6 +125,9 @@ def create_visualizations():
|
|
125 |
vanity_tx = get_vanity_transactions(today_date)
|
126 |
tx_per_chain = pd.concat([tx_per_chain, vanity_tx], ignore_index=True)
|
127 |
|
|
|
|
|
|
|
128 |
fig_tx_chain = px.bar(
|
129 |
tx_per_chain,
|
130 |
x="date",
|
|
|
125 |
vanity_tx = get_vanity_transactions(today_date)
|
126 |
tx_per_chain = pd.concat([tx_per_chain, vanity_tx], ignore_index=True)
|
127 |
|
128 |
+
# Convert the 'date' column to datetime again after concatenation
|
129 |
+
tx_per_chain['date'] = pd.to_datetime(tx_per_chain['date'])
|
130 |
+
|
131 |
fig_tx_chain = px.bar(
|
132 |
tx_per_chain,
|
133 |
x="date",
|