PROJECT 2
The task is similar to that of Project 1: work on project of your choice, but this time you need to do it in Python. It is okay to take your topic from Project 1 and do programming in Python, as long as you also upgrade it (for example, answer more questions than you did in Project1). Furthermore, you can even do some of the previous labs, as long as you convert them into Python, and broaden or deepen the analysis. I do not expect as much of complicated coding as in Project 1, since we did not cover Python as much as we did R.
You should include some plots (for example, using matplotlib library) as well as some data manipulation with pandas.
You can create Python script files (.py), but you should also have a report in Jupyter notebook, i.e. ipynb file.
Apart from ipynb file, you also need to upload html and pdf versions of it. You can do this in two ways.
One way (the simplest way), when you have your ipynb open in Jupyter, go to File →→ Download as →→ HTML (.html). Once you create html file, your internet browser should be able to convert html to pdf (at least Google Chrome does that).
Alternativaly, to convert ipynb to html and pdf, open Anaconda prompt. Then, in the prompt, if converting into html, type
jupyter nbconvert –to html file_name_with_full_path
For example, if I want to convert my file project2.ipynb into html, which is located in the folder C:\Users\Marko\DAT301\Project2, I would type
jupyter nbconvert –to html C:\Users\Marko\DAT301\Project2\project2.ipynb
NOTE: If a folder in the path has name that includes blank space, you would either need to rename the folder or else: first change current working directory where the file is, and then use the above command, but only with the file name (including extension). For example, if I am currently in the folder
(base) C:\Users\Marko
and my file project2.ipynb is in the folder C:\Users\Marko\DAT 301\Final Project (note the spaces in the names of the last two folders), then, I would change directory to the last folder by typing
cd .\DAT 301\Final Project
Then, to convert my Jupyter notebook project2.ipynb (which is now in the current directory) into html, I type
jupyter nbconvert –to html project2.ipynb
To convert ipynb file into pdf, you do the same as above, but replace word “html” with “pdf”.
Grading
You will be assessed on the quality of the written report as well as the presentation in the following way:
- Background and problem definition (5pts)
- Data wrangling, munging and cleaning (20pts)
- Exploratory Data Analysis (30pts)
- Data Visualization (15pts)
- Final conclusion/report; this time, short video presentation (5-7min) is desireable, but not required (30pts)
The assignment could be all done in a jupyter notebook. Otherwise, you can use .py files, but the report should be in jupyter notebook.