Raspberry Pi: Open Current Folder in Terminal shortcut not working

On several occasions the useful feature of opening the current folder in a terminal session from File Manager by pressing F4 had stopped working. This problem can appear either by displaying an error similar to the screen shot above or no error is displayed and nothing happens, the terminal session does not start. The resolution […]

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 […]

Django: Using an Oracle database

This post will show you how to configure a Django application to use an Oracle database. Demo overview The goal of the Django project is to store episode information for the crime fiction television series Columbo. What you will need To build this demo I used the following: VS Code 1.5.6 Django 3.2.3 Python 3.9.1 Oracle Database […]