Matplotlib Histogram | Beginners Tutorial on Visualising Well Log & Petrophysics Data Using Python
Вставка
- Опубліковано 8 лип 2024
- 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: github.com/andymcdgeo/Andys_Y...
Libraries used in this video:
LASIO: lasio.readthedocs.io/en/latest/
pandas: pandas.pydata.org
matplotlib: matplotlib.org
If you have enjoyed this video and want to say thanks, feel free to buy me a coffee at the following link: 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: amzn.to/3HNycJ9
US: amzn.to/3DL7qPv
FUNDAMENTALS OF PETROPHYSICS
UK: amzn.to/3l1PgSf
PETROPHYSICS: Theory and Practice of Measuring Reservoir Rock and Fluid Transport Properties
UK: amzn.to/30UNWZS
US: amzn.to/3DNqBbd
WELL LOGGING FOR EARTH SCIENTISTS
UK: amzn.to/3FHsbfn
US: amzn.to/3CILAuE
GEOLOGICAL INTERPRETATION OF WELL LOGS
UK: amzn.to/3l2v2HV
US: amzn.to/30UOTkU
-----
Thanks for watching, if you want to connect you can find me at the links below:
/ andymcdonaldgeo
/ geoandymcd
/ andymcdonaldgeo
www.andymcdonald.scot/
#matplotlib #petrophysics #python #histograms #welllogs #jupyternotebooks #geoscience - Наука та технологія
Hi Andy. I can't explain how useful your videos are to those of us who are knew to the world of programming. Thank you very much and keep them coming.
Regards,
Andy William
This is great! Thanks a lot Mr McDonald! Please, don't stop.
Thanks António. I have plenty more episodes in the pipeline and aiming to release one each Wednesday :)
Another content of great value for beginners like me. Many thanks
Thanks Vinay. I am glad the videos have been helpful. I have plenty more to come :)
love your videos, very concise and clear to understand the key points, thanks :) wish you all the best!
super beneficial. Thank you
You're welcome!
Amazing details
Thank you!
Great video
Thanks!
Hi Sir, Can I know how to ask Colab to table out the Frequency for each bin in the histogram
Hi Chi, I believe the second answer in this Stack Overflow post may be of use to you. It is the one where the commenter responds with the np.histogram function.
stackoverflow.com/questions/13129618/histogram-values-of-a-pandas-series