Spaces:
Running
Running
raymondEDS
commited on
Commit
·
fb62875
1
Parent(s):
8916bb5
updating homework
Browse files
app/components/__pycache__/login.cpython-311.pyc
CHANGED
Binary files a/app/components/__pycache__/login.cpython-311.pyc and b/app/components/__pycache__/login.cpython-311.pyc differ
|
|
app/pages/__pycache__/week_2.cpython-311.pyc
CHANGED
Binary files a/app/pages/__pycache__/week_2.cpython-311.pyc and b/app/pages/__pycache__/week_2.cpython-311.pyc differ
|
|
app/pages/week_2.py
CHANGED
@@ -353,19 +353,45 @@ def show():
|
|
353 |
- [Advertising Dataset](https://www.statlearning.com/s/Advertising.csv)
|
354 |
""")
|
355 |
|
356 |
-
# Weekly Assignment
|
357 |
-
st.
|
358 |
-
st.
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
353 |
- [Advertising Dataset](https://www.statlearning.com/s/Advertising.csv)
|
354 |
""")
|
355 |
|
356 |
+
# Personalized Weekly Assignment
|
357 |
+
username = st.session_state.get("username", "Student")
|
358 |
+
st.header(f"{username}'s Weekly Assignment")
|
359 |
+
|
360 |
+
if username == "manxiii":
|
361 |
+
st.markdown(f"""
|
362 |
+
Hello **{username}**, here is your Assignment 2: Python Basics.
|
363 |
+
1. Import the dataset that you studied last week: https://github.com/saralemus7/arthistory
|
364 |
+
2. Create a new notebook and load the dataset
|
365 |
+
3. Explore the dataset by answering the following questions (submit answers in this [Colab Notebook](https://colab.research.google.com/drive/1ScwSa8WBcOMCloXsTV5TPFoVrcPHXlW2)):
|
366 |
+
- How many rows and columns are there in the dataset?
|
367 |
+
- What are the variables in the dataset?
|
368 |
+
- What is the data type of each variable?
|
369 |
+
- What is the range of each variable?
|
370 |
+
- What is the mean of each variable?
|
371 |
+
4. Think about what research question you want to answer with this dataset.
|
372 |
+
|
373 |
+
**Due Date:** End of Week 2
|
374 |
+
""")
|
375 |
+
elif username == "zhu":
|
376 |
+
st.markdown(f"""
|
377 |
+
Hello **{username}**, here is your Assignment 2: Python Basics.
|
378 |
+
""")
|
379 |
+
elif username == "WK":
|
380 |
+
st.markdown(f"""
|
381 |
+
Hello **{username}**, here is your Assignment 2: Python Basics.
|
382 |
+
1. Import the dataset that you studied last week: https://huggingface.co/datasets/Yusuf5/OpenCaselist/tree/main
|
383 |
+
2. Create a new notebook and load the dataset
|
384 |
+
3. Explore the dataset by answering the following questions (submit answers in this [Colab Notebook](https://colab.research.google.com/drive/1LP3R3MrQJ2Mz8ZjPhxgTp9IZAlBE0e1d#scrollTo=e78EtnbQCDKV)):
|
385 |
+
- How many rows and columns are there in the dataset?
|
386 |
+
- What are the variables in the dataset?
|
387 |
+
- What is the data type of each variable?
|
388 |
+
- What is the range of each variable?
|
389 |
+
- What is the mean of each variable?
|
390 |
+
4. Think about what research question you want to answer with this dataset.
|
391 |
+
|
392 |
+
**Due Date:** End of Week 2
|
393 |
+
""")
|
394 |
+
else:
|
395 |
+
st.markdown(f"""
|
396 |
+
Hello **{username}**, here is your Assignment 2: Python Basics. is not yet released. Please message instructor
|
397 |
+
""")
|