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
  • Наука та технологія

КОМЕНТАРІ • 14

  • @andikanwilliam7939
    @andikanwilliam7939 8 місяців тому

    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

  • @antoniochicunasuamigomes7799
    @antoniochicunasuamigomes7799 2 роки тому +1

    This is great! Thanks a lot Mr McDonald! Please, don't stop.

    • @AndyMcDonald42
      @AndyMcDonald42  2 роки тому +2

      Thanks António. I have plenty more episodes in the pipeline and aiming to release one each Wednesday :)

  • @vin84iitr
    @vin84iitr 3 роки тому +3

    Another content of great value for beginners like me. Many thanks

    • @AndyMcDonald42
      @AndyMcDonald42  3 роки тому

      Thanks Vinay. I am glad the videos have been helpful. I have plenty more to come :)

  • @ohohjournal5828
    @ohohjournal5828 Рік тому

    love your videos, very concise and clear to understand the key points, thanks :) wish you all the best!

  • @olaal-najjar7391
    @olaal-najjar7391 2 роки тому

    super beneficial. Thank you

  • @jagadishvallarampara7811
    @jagadishvallarampara7811 2 роки тому +1

    Amazing details

  • @edmald1978
    @edmald1978 2 роки тому +1

    Great video

  • @chisoo6903
    @chisoo6903 2 роки тому +2

    Hi Sir, Can I know how to ask Colab to table out the Frequency for each bin in the histogram

    • @AndyMcDonald42
      @AndyMcDonald42  2 роки тому

      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