Category Archives: Python
Enrollment Analysis and Predictive Model 2/3 – Python Code
90% of data modeling is data cleansing. Here is a sample done with Python
This is a particularly hairy example of comparative program performance that needed to take into account: (a) program consolidations, (b) shifting departmental oversight, (b) school name changes, (c) sliding test score ranges, (d) and a host of other data idiosyncrasies. This code takes a days-long manual cleaning process and reduces it to about 5 minutes. It’s a non-destructive process that maintains the original file. Additionally, the entire process is documented within the code.
Enrollment Analysis and Predictive Model 1/3 – Project Write-up
Python code snippets. Why start from scratch?
This is my project starter file.
Creating lists of peer institutions – Python code
This is my first attempt at uploading some of my Python code. If this works out, I’ll be posting more!
Restoring Jupiter Notebook access after updating from bash to zsh
After my dissertation, I updated my Mac to Big Sur. I wasn’t going to mess with anything until it was done. I’ve heard too many horror stories. When I finally did, I was prompted to update the shell from bash to zsh which cut off my access to Jupyter Notebook and all of my Python code. I getting a “Jupyter not found” error. Here is how you can get access back.
- Open the bash profile using:
open ~/.bash_profile
2. Since I used Anaconda to install Python, the file had a block of code that looked like the following. Copy and….
3. Create a zsh profile and paste contents above into it.
nano ~/.zshrc