Today, I continued with Week 2 of Coursera!
The course introduced DataFrames, the most important data structure in Pandas. (Of course, I had worked with DataFrames in the other tutorials and the actual code prior to this, but it was nice to have a more formal, in-depth lecture about it.) One of the biggest topics that was covered was boolean masking, which is a way to only show the subset of a DataFrame that fits a certain requirement (filling the rest with NaN). Interestingly, the technique they described here (using the '.where' and 'dropna' methods) was different from the one I had used in the other tutorials and in the Energize code. However, they both served exactly the same purpose. Additionally, there was a lot of other experimentation with DataFrames. I'm getting closer to finishing Week 2, so I'll probably get to the project in a couple days. Comments are closed.
|
AuthorI'm a high school senior and programming enthusiast. Archives
March 2022
Categories |