Assignment Pandas 101: Dataframe access and simple plotting
[Online] Work together over Zoom on a basic Python Pandas 101 assignment. Attendees are expected to watch my Python for Data Science: Pandas 101 spring 2022 video first, or have some previous experience with both Python and Pandas. This will be an opportunity to work together on the assignment we didn't have time for at the end of that workshop, plus have questions answered live. The assignment will be very basic, covering DataFrame access and simple built-in Pandas plotting.
Python can be a great option for exploration, analysis and visualization of tabular data, such as spreadsheets and CSV files, if you know which tools to use and how to get started. My spring 2022 Pandas 101 video takes you through some practical examples of using Python and specifically the Pandas module to load data from files, access that data, and start visualizing it with the Pandas built-in plotting functions. It also gives you a quick introduction to working in JupyterLab, the flexible programming environment which contain Jupyter Notebooks, a file browser, and more.
- You will be expected to have your video on for most of the session, and to potentially share your screen during part of the work time.
- You will be expected to arrive with Python and Pandas already installed on the machine you're Zooming from.
- Instructions are listed below for installation!
- I will hold open Zoom walk-in hours for an hour before the workshop to help remotely troubleshoot installation issues. Email me at firstname.lastname@example.org to get the URL.
Anaconda Python distribution (Individual Edition):
I strongly recommend that you install the Anaconda Python Distribution to use in class. In principle, if you have something above Python 3.8 or so, plus all the necessary modules, everything should work fine. But, the Anaconda Distribution is packaged nicely, can be installed without admin privileges, and comes with everything you’ll need. If you have another version of Python already installed and you’re going to install Anaconda, it’s best to uninstall the other version first. It can get to be a mess if you have multiple versions of Python installed on one machine.
Go to the link above, hit Download, and choose the version for your operating system. I would recommend to just install for “yourself”, not for all users of the machine, since that way it will install everything in your Users/username folder and doesn’t require admin privileges.
If you’re on Mac and aren’t comfortable with shell scripts on the command line, choose the Graphical Installer.
On Windows, I would choose the 64-bit installer, unless you know you’re still running a 32-bit version of Windows on an older machine.
If you’re sticking with your non-Anaconda version of Python, make sure you have JupyterLab, Pandas, and all of their respective dependencies installed.
Please try to launch Python and JupyterLab before class to make sure they’re working! JupyterLab can be started from the Anaconda Navigator application, or from the Anaconda Prompt (Windows) or a Terminal (Mac) by typing (without quotes) “jupyter lab” and hitting return. From a Python notebook or an interactive Python prompt, you can test out the main modules you’ll need by typing this and executing the code cell:
import pandas as pd
A zoom link will be sent via email to registered participants to join the workshop.
The content of the workshop may be recorded. If you are uncomfortable with a recording being published please contact the instructor at anytime prior to the conclusion of the workshop.
Data Science, Data Visualization
- Tuesday, October 18, 2022
- 10:00am - 11:00am
- Data and Visualization