Spaces:
Sleeping
Sleeping
Update M1_Assignment2.py
Browse files- M1_Assignment2.py +14 -14
M1_Assignment2.py
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
-
# PART 0.5: Import necessary libraries
|
2 |
-
import streamlit as st
|
3 |
-
import pandas as pd
|
4 |
-
import numpy as np
|
5 |
-
import matplotlib.pyplot as plt
|
6 |
-
import seaborn as sns
|
7 |
-
from scipy.stats import zscore
|
8 |
-
import geopandas as gpd
|
9 |
-
import altair as alt
|
10 |
-
from vega_datasets import data
|
11 |
-
from duckduckgo_search import DDGS
|
12 |
-
import zipfile
|
13 |
-
import requests
|
14 |
-
import re
|
15 |
|
16 |
# PART 1: Function to load the data parts and use pd.concat to combine the 3 parts to one dataset
|
17 |
@st.cache_data # Cache the function to enhance performance - tells streamlit to keep the dataset in memory/cache
|
|
|
1 |
+
# PART 0.5: Import necessary libraries - UNMARK # if runned local
|
2 |
+
# import streamlit as st
|
3 |
+
# import pandas as pd
|
4 |
+
# import numpy as np
|
5 |
+
# import matplotlib.pyplot as plt
|
6 |
+
# import seaborn as sns
|
7 |
+
# from scipy.stats import zscore
|
8 |
+
# import geopandas as gpd
|
9 |
+
# import altair as alt
|
10 |
+
# from vega_datasets import data
|
11 |
+
# from duckduckgo_search import DDGS
|
12 |
+
# import zipfile
|
13 |
+
# import requests
|
14 |
+
# import re
|
15 |
|
16 |
# PART 1: Function to load the data parts and use pd.concat to combine the 3 parts to one dataset
|
17 |
@st.cache_data # Cache the function to enhance performance - tells streamlit to keep the dataset in memory/cache
|