Display Extra Information on your Plotly Express Scatter Plots

Plotly Express Scatter Plot of well log data illustrating marginal plots on both axes. Image by the author.

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.

An Example of Creating Interactive Scatter Plots Using Well Log Data

Plotly Express scatter plot of well log data. Image by Author.

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…

Creating 3D Line Plots Using Matplotlib to Visualize Well Trajectories

3D Line Plot showing the position of a well path generated from the Welly Python Library. Image by the author.

There are multiple depth references used within well logging to denote a position along the wellbore. These include measured depth (MD), true vertical depth (TVD), true vertical depth subsea (TVDSS) etc. All of which are critical measurements for the successful development and completion of a well.

Identification of outliers is an essential step in the machine learning workflow

Photo by Will Myers on Unsplash

Outliers are anomalous points within a dataset. They are points that don’t fit within the normal or expected statistical distribution of the dataset and can occur for a variety of reasons such as sensor and measurement errors, poor data sampling techniques, and unexpected events.

Within well log measurements and petrophysics…

Part 2 in a series going from Exploratory Data Analysis to Machine Learning with Well Log Data

Photo by Markus Spiske on Unsplash

Machine learning and Artificial Intelligence are becoming popular within the geoscience and petrophysics domains. Especially over the past decade. Machine learning is a subdivision of Artificial Intelligence and is the process by which computers can learn and make predictions from data without being explicitly programmed to do so. …

An example of exploring petrophysical and well log measurements using a number of plots from Seaborn and Matplotlib

Photo by Markus Spiske on Unsplash

Machine learning and Artificial Intelligence are becoming popular within the geoscience and petrophysics domains. Especially over the past decade. Machine learning is a subdivision of Artificial Intelligence and is the process by which computers can learn and make predictions from data without being explicitly programmed to do so. …

A short guide on multiple options for renaming columns in a pandas dataframe

Photo by Giulio Gabrieli on Unsplash

Ensuring that dataframe columns are appropriately named is essential to understand 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 within a pandas dataframe.

But first, what is Pandas? Pandas is…

Visualising well log data versus depth using the matplotlib library from Python

Well log plot created using the matplotlib Python library. Image by author.

Introduction

Well log plots are a common visualization tool within geoscience and petrophysics. They allow easy visualization of data (for example, Gamma Ray, Neutron Porosity, Bulk Density, etc) that have been acquired along the length (depth) of a wellbore. …

Use scatter plots to visualise the relationship between variables

Neutron density scatter plot / crossplot created with matplotlib in python. Image by the author.

Introduction

Scatter plots are a commonly used data visualisation tool. They allow us to identify and determine if there is a relationship (correlation) between two variables and the strength of that relationship.

Within petrophysics scatter plots, are commonly known as crossplots. …

Andy McDonald

Petrophysicist, Geoscientist and data Scientist with a passion for data analytics, machine learning, and artificial intelligence.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store