Pandas: Can you rewrite this line to use df.loc?

I have been working through Reindert-Jan Ekker excellent Plurasight course Pandas Playbook: Manipulating Data and right at the end of Demo: Detecting and Inspecting Missing Values, part of Module 5 Cleaning data, he asks the following question: # Can you rewrite this line to use df.loc? df[‘MIN_TEMP_GROUND’].drop(every_6th_row).isnull().all() True This code checks that data for MIN_TEMP_GROUND […]

Viewing Pandas DataFrame in VS Code

In this post I will show you how to access the Data viewer which is a useful tool to review, sort and filter data within a Pandas DataFrame. Required VS Code Extension If you have not already done so, add the Python extension for Visual Studio Code from Microsoft. Code Sample In the code example […]