fig = px.line(new_df, x='dat', y='amount', title='Tejesh spend over time (2019)')
fig.show()
Это кадр данных, который использовался для графика:
dat transaction amount
0 1/11/19 PURCHASE AUTHORIZED ON 01/09 COUNTER SANTANA R... -49.70
1 1/14/19 PURCHASE AUTHORIZED ON 01/13 COLLEGEBOARD*SAT ... -24.00
2 1/17/19 PURCHASE AUTHORIZED ON 01/15 CA LOYOLA MARYMOU... -60.00
3 1/17/19 PURCHASE AUTHORIZED ON 01/15 CA OCCIDENTAL COL... -65.00
4 1/17/19 PURCHASE AUTHORIZED ON 01/15 CA UNIV OF OREGON... -65.00
.. ... ... ...
419 9/30/19 PURCHASE AUTHORIZED