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的更多文章

  • How AI Assistants Help With Programming

    How AI Assistants Help With Programming

    There are many good high quality AI coding assistants available like GitHub Copilot, Cursor, Windsurf, etc. I recently…

  • Data Migration Strategy

    Data Migration Strategy

    A lot of companies treat data migration as an after thought. The new system is ready for GO LIVE but data migration…

    1 条评论
  • Building an AI Agent using a No-code tool

    Building an AI Agent using a No-code tool

    Wanted to show a very simple use case for people who don’t want to dabble in Python programming. There is a very decent…

    10 条评论
  • How LangChain can help you elegantly write an Agent!

    How LangChain can help you elegantly write an Agent!

    In this example, we will use LangChain help us write an elegant solution. I have intentionally taken a simple problem…

    3 条评论
  • Roundtable to discuss day zero employability of IT graduates

    Roundtable to discuss day zero employability of IT graduates

    Recently got a chance to participate in a Roundtable to discuss day zero employability of IT graduates at IBA. The…

    2 条评论
  • 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…

    5 条评论
  • 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 条评论

社区洞察

其他会员也浏览了