streamlit plotly numpy scipy
pip install streamlit
pip install numpy
pip install scipy
pip install matplotlib
pip install plotly
The program is designed to only take in csv file with the following format. The first row of the file will be considered a header.
# File uploader
uploaded_file = st.file_uploader("Upload your CSV file", type=["csv"])
if uploaded_file is not None:
# Read the uploaded file
data = np.genfromtxt(uploaded_file, delimiter=',', skip_header=1)
time = data[:, 0]
vibration = data[:, 1]