BLOG

Python

Pandas Profiling — Easy Exploratory Data Analysis in Python

Exploratory Data Analysis (EDA) is an important and essential part of the data science and machine learning workflow. It allows us to become familiar with our data by exploring it, from multiple angles, through statistics, data visualisations, and data summaries. This helps discover patterns in the data, spot outliers, and gain a solid understanding of the data we are working with.

Read More »
Python

Convert CSV Files to LAS Files with Python

Quick and simple conversion process to create a LAS file from scratch using LASIO and CSV Data Well log data can be delivered in a variety of formats (DLIS, LAS, CSV, ASC etc.). If you have a CSV file containing well-log data, and you want to convert it to LAS format, you can use the LASIO

Read More »
Petrophysics

Enhance Your Plotly Express Scatter Plot With Marginal Plots

Scatter plots are a commonly used data visualisation tool within data science. They allow us to plot two numerical variables, as points, on a two dimensional graph. From these plots, we can understand if there is a relationship between the two variables, and what the strength of that relationship is. Within this short tutorial, we

Read More »
Petrophysics

Using Plotly Express to Create Interactive Scatter Plots

Scatter plots allow us to plot two variables from a dataset and compare them. From these plots, we can understand if there is a relationship between the two variables, and what the strength of that relationship is. Within petrophysics scatter plots, are commonly known as crossplots. They are routinely used as part of the petrophysical

Read More »
photo of panda and cub playing
Python

How to Rename Columns in Pandas — A Quick Guide

A short guide on multiple options for renaming columns in a pandas dataframe Ensuring that dataframe columns are appropriately named is essential to understanding what data is contained within, especially when we pass our data on to others. In this short article, we will cover a number of ways to rename columns in a pandas

Read More »
Petrophysics

Loading Well Log Data From DLIS using Python

There are a number of different formats that well log and petrophysical data can be stored in. In the earlier articles and notebooks of this series, we have mainly focused on loading data from CSV files (here) and LAS files (here and here). Even though LAS files are one of the common formats, they have

Read More »
Petrophysics

Displaying Logging While Drilling (LWD) Image Logs in Python

Borehole image logs are false-color pseudo images of the borehole wall generated from different logging measurements/tools. How borehole images are acquired differs between wireline logging and logging while drilling (LWD). In the wireline, environment measurements are made from buttons on pads that are pressed up against the borehole wall and provide limited coverage but at

Read More »
graphs display on an ipad
Petrophysics

Petrophysics: Gamma Ray Normalization in Python

Normalization of well log data is a common and routine process within a petrophysical workflow and is used to correct for variations in logging curves between wells. These variations can arise due to a number of different reasons such as incorrect tool calibrations, varying tool vintage and changes in borehole environmental conditions between the wells.

Read More »