PandasAI - Generative AI Capabilities in Pandas via OpenAI ChatGPT / LLM models

  Рет қаралды 11,059

BugBytes

BugBytes

Күн бұрын

In this video, we'll take a quick look at a new library called PandasAI - this library enhances Pandas with capabilities from OpenAI's large-language-models, allowing you to ask questions and pass prompts to your Pandas DataFrames, and get back results - without writing any additional code!
For example, we can ask a question to a DataFrame, and get back text, numerical outputs, charts/graphs, and even Pandas Series vectors.
☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:
ko-fi.com/bugb...
𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: www.bugbytes.i...
👾 Github: github.com/bug...
🐦 Twitter: / bugbytesio
📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
pandas-ai: github.com/gve...
Titanic Dataset: github.com/dat...
OpenAI API Keys: platform.opena...
#python #llm #pandas #artificialintelligence #datascience

Пікірлер: 37
@Davidkiania
@Davidkiania Жыл бұрын
This is awesome content valuable and timely I love it ... and well done.
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thank you !
@emmanuelkolawole6720
@emmanuelkolawole6720 Жыл бұрын
How does it handle large datasets? Two million rows and above?
@silkogelman
@silkogelman Жыл бұрын
Super interesting! Prompt based visualisations! 🤩 Combining your own datasets with LLMs has so many cool applications. I love that you check the accuracy of the LLM answers. Thanks BugBytes! 🙏
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks Sil! 🙏 Always important to verify the output of these LLMs… for now anyway, until they truly take over 😂
@fernandtape9363
@fernandtape9363 Жыл бұрын
Good one! I'll try it later. Are other languages supported in the prompt?
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks! Good question - I haven't tried this out tbh. But the prompt sends requests to Open AI models, so the answer will depend on whether these models support your language I think.
@fernandtape9363
@fernandtape9363 Жыл бұрын
@@bugbytes3923 I've tried chat Gpt in French and Chinese before. So I guess It could answer. Get to try to confirm.
@thirukumaran6780
@thirukumaran6780 Жыл бұрын
getting this error tell me how to fix it UnicodeEncodeError: 'latin-1' codec can't encode character '\u200b' in position 7: ordinal not in range(256)
@lavanyavijayan9227
@lavanyavijayan9227 10 ай бұрын
I have multiple CSV files of different dimensions. Is there a way to load all of them and get the result? Excellent video btw!!
@uroosaimtiaz
@uroosaimtiaz 10 ай бұрын
Very cool! Wasn't sure how AI will continue to change how we program, but I didn't expect this. I wonder what is next :0
@ArsenalvsEverybody
@ArsenalvsEverybody Жыл бұрын
why data visualization doesnt work in my jupyternotebook? when i write prompt = chart the survivor count for each sex
@joseluisbeltramone599
@joseluisbeltramone599 Жыл бұрын
Excellent video, comprehensive and clear explanation. Thank you!
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks a lot José!
@Gowtham25
@Gowtham25 Жыл бұрын
Is there any way to load our own LLM model? If so, it would be great.
@noamsiegel
@noamsiegel Жыл бұрын
I am looking for the same thing, please don't hesitate to let me know if you find anything. For now, there is a way to do so using the gpt4all package and models.
@greggy1872
@greggy1872 Жыл бұрын
can your DF be multiple excels or CSV? I would like Panda to run across multiple files and tell me correlations and potential links between files
@nitinsingh430
@nitinsingh430 Жыл бұрын
Why am I getting different outputs for the same dataset and same prompt?
@bugbytes3923
@bugbytes3923 Жыл бұрын
ChatGPT is not deterministic, so the outputs will be different each time - the language model behind that PandasAI calls will potentially generate different output at each call. You can pass a "temperature" argument to the OpenAI object to help control how random vs. how deterministic the output is. See the following link for more: gptforwork.com/guides/openai-gpt3-temperature
@LifeTravelerAmmu
@LifeTravelerAmmu Жыл бұрын
Hello @BugBytes .. Great Thanks !!!! How can i use MYSQL database instead of using dataframe , csv files.... If it possible ... please let me know ... Thank you !!!
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks! You could try pulling the data from your MySQL table into a DataFrame - see this function: pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_sql.html
@hariomgupta2010
@hariomgupta2010 Жыл бұрын
HOw to show chart in django html templates.
@shekarshekar4988
@shekarshekar4988 Жыл бұрын
hey Although I am using Paid API key, the API is taking a long time to respond. is there any chance we can improve the Performance?
@bugbytes3923
@bugbytes3923 Жыл бұрын
This is in the hands of OpenAI - hopefully their platform can improve its performance over time.
@mehsaniphysicsmathmatics2147
@mehsaniphysicsmathmatics2147 4 ай бұрын
You are amazing! Thanks for all the beauties you represent to the world.
@bugbytes3923
@bugbytes3923 4 ай бұрын
Thanks a lot!
@emmanuelkolawole6720
@emmanuelkolawole6720 Жыл бұрын
This is the best project in the AI industry till date
@bugbytes3923
@bugbytes3923 Жыл бұрын
Bold claim! 😆 But yeah, definitely a cool project!
@mtmanalyst
@mtmanalyst 11 ай бұрын
Excellent!!! Thank you
@bugbytes3923
@bugbytes3923 11 ай бұрын
Thanks a lot!
@khanna-vijay
@khanna-vijay 9 ай бұрын
Well explained.
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thank you!
@reneschwabe8437
@reneschwabe8437 Жыл бұрын
Very interesting. Unfortunately not for business data cause OpenAI gets the data. Would be better with a local LLM.
@willosullivan1986
@willosullivan1986 Жыл бұрын
In your experience, how long does it take to build an in-house LLM to serve as a autonomous data analyst?
@noamsiegel
@noamsiegel Жыл бұрын
Let me know if you find how any other ways besides hosting a gpt4all model and using its package.
@mtmanalyst
@mtmanalyst 9 ай бұрын
Very nice demo Thank you
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks a lot!
​PandasAI - Talk to Your Data
27:11
LLMs Explained - Aggregate Intellect - AI.SCIENCE
Рет қаралды 4,9 М.
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН
Крутой фокус + секрет! #shorts
00:10
Роман Magic
Рет қаралды 23 МЛН
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 75 МЛН
Has Generative AI Already Peaked? - Computerphile
12:48
Computerphile
Рет қаралды 995 М.
OpenAI Embeddings and Vector Databases Crash Course
18:41
Adrian Twarog
Рет қаралды 471 М.
Build a Python Web App to chat with your datasets using GenAI
4:23
Tech at Worldline
Рет қаралды 28 М.
[1hr Talk] Intro to Large Language Models
59:48
Andrej Karpathy
Рет қаралды 2,2 МЛН
Pandas DataFrame Agent... the future of data analysis?
19:42
Dave Ebbelaar
Рет қаралды 17 М.
PandasAI - Data Analysis Made Easy (Powered by OpenAI)
11:15
The PyCoach
Рет қаралды 30 М.
@LangChain Pandas Agent and GPT-4 for Data Analysis
14:12
AssemblyAI
Рет қаралды 42 М.
GraphRAG: The Marriage of Knowledge Graphs and RAG: Emil Eifrem
19:15
Как подписать? 😂 #shorts
00:10
Денис Кукояка
Рет қаралды 8 МЛН