Spaces:
Runtime error
Runtime error
IsaacKerson
commited on
Commit
•
40520e5
1
Parent(s):
156a501
add header to dataframe
Browse files- pages/upload.py +2 -4
pages/upload.py
CHANGED
@@ -20,11 +20,9 @@ def app():
|
|
20 |
print(e)
|
21 |
data = pd.read_excel(uploaded_file)
|
22 |
|
23 |
-
|
24 |
-
''' Load the data and save the columns with categories as a dataframe.
|
25 |
-
This section also allows changes in the numerical and categorical columns. '''
|
26 |
if st.button("Load Data"):
|
27 |
|
28 |
-
|
|
|
29 |
st.dataframe(data)
|
30 |
# data.to_csv('data/main_data.csv', index=False)
|
|
|
20 |
print(e)
|
21 |
data = pd.read_excel(uploaded_file)
|
22 |
|
|
|
|
|
|
|
23 |
if st.button("Load Data"):
|
24 |
|
25 |
+
st.markdown("### Uploaded Data")
|
26 |
+
st.write("\n")
|
27 |
st.dataframe(data)
|
28 |
# data.to_csv('data/main_data.csv', index=False)
|