Instead of a cumbersomely nested ifelse statement, use dplyr’s mutate and case_when functions instead.
Convert data.frame factor columns to character columns before trying to replace NULL values.
Find NULLs in a dataframe using is.na().
Ctrl-Z to the rescue. ‘nuf said.
Adding temporary print statements to troubleshoot Python code is quick and dirty. And messy. Incorporating logging into your code habit is a great alternative to relying on ad-hoc print statements that just need to get deleted later.
Save a Google Colab notebook to another format, such as HTML or PDF.
When HTML files on GitHub are too big to render, here’s a quick work-around.
Use p2j to convert Python source code to Jupyter Notebook.
Quick reference for building a repository locally, pushing it to GitHub, and maintaining commits back and forth.
Today I completed the Udacity Data Analyst Nanodegree (DAND) program. As with other Udacity Nanodegree programs, I enjoyed doing the projects most of all. DAND includes 8 projects. My attention was diverted for a couple of months in the middle of DAND because of my acceptance to and participation in the Udacity/Facebook PyTorch challenge. But … [Read More]
Today I was chosen as one of only 300 out of 10,000 students in the PyTorch Scholarship Challenge to be awarded a scholarship. This means I will now be starting in the 3-month Udacity Deep Learning Nanodegree program. This, along with still working the Data Analyst Nanodegree (DAND) program, will be keeping me very busy!