Spaces:
Sleeping
Sleeping
Update data_loader.py
Browse files- data_loader.py +0 -8
data_loader.py
CHANGED
@@ -20,11 +20,3 @@ def load_data():
|
|
20 |
except Exception as e:
|
21 |
st.error(f"An error occurred: {e}")
|
22 |
return pd.DataFrame()
|
23 |
-
|
24 |
-
if __name__ == "__main__":
|
25 |
-
european_data = load_data()
|
26 |
-
if not european_data.empty:
|
27 |
-
print("Successfully loaded European data:")
|
28 |
-
print(european_data.head())
|
29 |
-
else:
|
30 |
-
print("Failed to load European data.")
|
|
|
20 |
except Exception as e:
|
21 |
st.error(f"An error occurred: {e}")
|
22 |
return pd.DataFrame()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|