Data Insights through GenAI

Data Insights through GenAI

Some of you already might be using GenAI for your data analytics. In this article I just wanted to walk you through a very simple but powerful approach. To demonstrate the approach, I will use hotel booking data available here (more than 100k data points/rows):

https://www.kaggle.com/code/kianwee/eda-hotel-booking-demand/notebook

By giving the appropriate prompt to GenAI, we get a Python program which gives very valuable insights to us, the program that was generated is available here:

https://github.com/ansarmuhammad/GitHub_Copilot/blob/main/BOOKING_ANALYSIS_V1.py

When we run this code we get the following output


This result tells us that if booking has an arrival day of Sunday or Tuesday, it has a 20% less chance of being cancelled as compared to an arrival day of Thursday or Friday. We can create some visualisation to make the insight more apparent.

Would you like to know the prompt that we gave to GenAI to get the above output (through the Python program)?

?

要查看或添加评论,请登录

Ansar Muhammad, PMP, PSM-1的更多文章

  • Join Us as a SME – USA Health Insurance! ??

    Join Us as a SME – USA Health Insurance! ??

    Are you passionate about transforming the health insurance domain with innovative software solutions? ?? Do you thrive…

  • AI Convergence Conference

    AI Convergence Conference

    It was a pleasure to speak at the conference! Met many interesting people, very nice to see a well executed AI…

    2 条评论
  • 3rd Code Quality Awards

    3rd Code Quality Awards

    “?? Celebrating Excellence in Code Quality Quarter 3 ?? Today, we come together to recognise and celebrate the…

  • Agile frameworks and MVP approaches

    Agile frameworks and MVP approaches

    Presenting Agile and MVP concepts to the receptive JazzCash team was a great experience! The way the training was…

    2 条评论
  • Using Machine Learning / Decision Trees to understand your data

    Using Machine Learning / Decision Trees to understand your data

    Sometimes it is hard to understand your data without the help of some Machine Learning tools, one very useful open…

    1 条评论
  • Synthetic data generation for email summarization tool testing

    Synthetic data generation for email summarization tool testing

    Currently I am working with some students on a project (let's call it tool-1), it is being designed to have the…

    2 条评论
  • Giving the right prompt!

    Giving the right prompt!

    In this short article I want to show how GitHub Copilot can help you refactor your code. Let’s start with this code:…

  • How Integration Tests reduce developer fatigue?

    How Integration Tests reduce developer fatigue?

    Some stakeholders who are not familiar with the value of unit and integration tests might not fully appreciate the…

  • GitHub Copilot in Action

    GitHub Copilot in Action

    I see a lot of developers still considering this powerful tool more as a toy rather than a production level tool…

  • Teaching high school students how to program and build logic

    Teaching high school students how to program and build logic

    Most of us know some young very smart person, who is convinced that they can’t learn to program. Maybe they tried it at…

社区洞察

其他会员也浏览了