Tomatolinn commited on
Commit
e6fa0d0
1 Parent(s): 0e73357

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -0
app.py CHANGED
@@ -1,3 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  # Import panel and vega datasets
2
 
3
  import panel as pn
 
1
+ # start with the setup
2
+
3
+ # supress warnings about future deprecations
4
+ import warnings
5
+ warnings.simplefilter(action='ignore', category=FutureWarning)
6
+
7
+ import pandas as pd
8
+ import altair as alt
9
+ import numpy as np
10
+ import pprint
11
+ import datetime as dt
12
+ from vega_datasets import data
13
+ import matplotlib.pyplot as plt
14
+
15
+ # Solve a javascript error by explicitly setting the renderer
16
+ alt.renderers.enable('jupyterlab')
17
+ #load data
18
+ df2=pd.read_csv("https://raw.githubusercontent.com/dallascard/SI649_public/main/altair_hw3/approval_topline.csv")
19
  # Import panel and vega datasets
20
 
21
  import panel as pn