import streamlit as st # import pandas as pd def raw_data(las_file, well_data): st.title('KVL File Data Info') if not las_file: st.warning('No file has been uploaded') else: st.write('**Curve Information**') for count, curve in enumerate(las_file.curves): # st.write(f"Curve: {curve.mnemonic}, Units: {curve.unit}, Description: {curve.descr}", unsafe_allow_html=True) st.write(f" {curve.mnemonic} ({curve.unit}): {curve.descr}", unsafe_allow_html=True) st.write(f"There are a total of: {count+1} curves present within this file", unsafe_allow_html=True) st.write('Curve Statistics', unsafe_allow_html=True) st.write(well_data.describe()) st.write('Raw Data Values', unsafe_allow_html=True) st.dataframe(data=well_data)