Spaces:
Build error
Build error
Hamza Salhi commited on
Update exercises/cut_off.py
Browse files85 unmodified lines868788899091925 unmodified lines989910010110210310419 unmodified lines12412512612712812913085 unmodified linesdef cut_off():df = pd.read_csv("..//pdac2021_res_est_course_link2//data//Worksheet COGs.csv")df = df.fillna("")df = df[:32].copy()5 unmodified linescol1, col2 = st.beta_columns([1, 2])with col1:st.image("..//pdac2021_res_est_course_link2//images//cog1_block.jpg", width=300)with col2:st.write("")st.write("")19 unmodified linestext = funcs.get_text_block("cog_q2_intro.txt")st.markdown(text)with col4:st.image("..//pdac2021_res_est_course_link2//images//nsr_table.png", width=500)st.write("*Note that the average grade of the deposit is not known until the cut-off is known. This is normally an early approximation and an iterative process. While it does not impact the calculations, once the average grade is known, a simple cash flow analysis can be performed.")q2_options = ['A. I have no idea','B. The block value is below all cut-off grades',85 unmodified lines868788899091925 unmodified lines989910010110210310419 unmodified lines12412512612712812913085 unmodified linesdef cut_off():df = pd.read_csv("data//Worksheet COGs.csv")df = df.fillna("")df = df[:32].copy()5 unmodified linescol1, col2 = st.beta_columns([1, 2])with col1:st.image("images//cog1_block.jpg", width=300)with col2:st.write("")st.write("")19 unmodified linestext = funcs.get_text_block("cog_q2_intro.txt")st.markdown(text)with col4:st.image("images//nsr_table.png", width=500)st.write("*Note that the average grade of the deposit is not known until the cut-off is known. This is normally an early approximation and an iterative process. While it does not impact the calculations, once the average grade is known, a simple cash flow analysis can be performed.")q2_options = ['A. I have no idea','B. The block value is below all cut-off grades',
exercises/cut_off.py+3-3