Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -106,6 +106,9 @@ def download_button(object_to_download, download_filename, button_text, file_ext
|
|
106 |
|
107 |
file_upload = st.file_uploader("Upload a csv file", type="csv")
|
108 |
if file_upload is not None:
|
|
|
|
|
|
|
109 |
data = pd.read_csv(file_upload)
|
110 |
#column = data["S11"].iloc[1:].values
|
111 |
column = data["S11"].values
|
|
|
106 |
|
107 |
file_upload = st.file_uploader("Upload a csv file", type="csv")
|
108 |
if file_upload is not None:
|
109 |
+
# retrieve file name: 40, 41, ... 60
|
110 |
+
file_name = file_upload.name
|
111 |
+
st.write(file_name)
|
112 |
data = pd.read_csv(file_upload)
|
113 |
#column = data["S11"].iloc[1:].values
|
114 |
column = data["S11"].values
|