Spaces:
Sleeping
Sleeping
Hamza Salhi
commited on
Commit
•
f8471b4
1
Parent(s):
9d96327
Update exercises/cut_off.py
Browse files- exercises/cut_off.py +3 -3
exercises/cut_off.py
CHANGED
@@ -86,7 +86,7 @@ def adjust_calculation(df2):
|
|
86 |
|
87 |
def cut_off():
|
88 |
|
89 |
-
df = pd.read_csv("
|
90 |
df = df.fillna("")
|
91 |
df = df[:32].copy()
|
92 |
|
@@ -98,7 +98,7 @@ def cut_off():
|
|
98 |
col1, col2 = st.beta_columns([1, 2])
|
99 |
|
100 |
with col1:
|
101 |
-
st.image("
|
102 |
with col2:
|
103 |
st.write("")
|
104 |
st.write("")
|
@@ -124,7 +124,7 @@ def cut_off():
|
|
124 |
text = funcs.get_text_block("cog_q2_intro.txt")
|
125 |
st.markdown(text)
|
126 |
with col4:
|
127 |
-
st.image("
|
128 |
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.")
|
129 |
q2_options = ['A. I have no idea',
|
130 |
'B. The block value is below all cut-off grades',
|
|
|
86 |
|
87 |
def cut_off():
|
88 |
|
89 |
+
df = pd.read_csv("data//Worksheet COGs.csv")
|
90 |
df = df.fillna("")
|
91 |
df = df[:32].copy()
|
92 |
|
|
|
98 |
col1, col2 = st.beta_columns([1, 2])
|
99 |
|
100 |
with col1:
|
101 |
+
st.image("images//cog1_block.jpg", width=300)
|
102 |
with col2:
|
103 |
st.write("")
|
104 |
st.write("")
|
|
|
124 |
text = funcs.get_text_block("cog_q2_intro.txt")
|
125 |
st.markdown(text)
|
126 |
with col4:
|
127 |
+
st.image("images//nsr_table.png", width=500)
|
128 |
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.")
|
129 |
q2_options = ['A. I have no idea',
|
130 |
'B. The block value is below all cut-off grades',
|