Histograms are a great tool for exploratory data analysis. They allow us to view the distribution of the data values and identify key interpretation parameters.
In this video, I cover what a histogram is and how to create one using matplotlib, a common Python data visualization library.
Chapters:
0:00 Introduction
0:20 What are histograms?
1:27 Creating Histograms in Jupyter Notebook
1:51 Importing Libraries and LAS Data
4:20 Creating a Histogram Using Pandas
5:35 Creating a Histogram Using Matplotlib
6:45 Customising the Histogram
8:45 Calculating Statistics and Adding them to the Histogram
10:42 Summary
The notebook for this video can be found on my GitHub repository at: https://github.com/andymcdgeo/Andys_Y...
Libraries used in this video:
LASIO: https://lasio.readthedocs.io/en/latest/
pandas: https://pandas.pydata.org
matplotlib: https://matplotlib.org
If you have enjoyed this video and want to say thanks, feel free to buy me a coffee at the following link: https://buymeacoffee.com/andymcdonaldgeo
Books I Recommend:
As an Amazon Associate I earn from qualifying purchases. By buying through any of the links below I will earn commission at no extra cost to you.
PYTHON FOR DATA ANALYSIS: Data Wrangling with Pandas, NumPy, and IPython
UK: https://amzn.to/3HNycJ9
US: https://amzn.to/3DL7qPv
FUNDAMENTALS OF PETROPHYSICS
UK: https://amzn.to/3l1PgSf
PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: https://amzn.to/30UNWZS
US: https://amzn.to/3DNqBbd
WELL LOGGING FOR EARTH SCIENTISTS
UK: https://amzn.to/3FHsbfn
US: https://amzn.to/3CILAuE
GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: https://amzn.to/3l2v2HV
US: https://amzn.to/30UOTkU
Thanks for watching, if you want to connect you can find me at the links below:
/ andymcdonaldgeo
/ geoandymcd
/ andymcdonaldgeo
https://www.andymcdonald.scot/
#matplotlib #petrophysics #python #histograms #welllogs #jupyternotebooks #geoscience