Build a Python Dashboard with ChatGPT Lightning Fast
Ғылым және технология
Learn the quickest way to build a Python Dashboard with ChatGPT Plotly and Dash. We'll show you two separate dashboards, of varying sophistication, and we'll suggest best practices for giving instructions to ChatGPT.
Datasets:
github.com/plotly/datasets/bl...
github.com/plotly/datasets/bl...
Plotly Community Forum:
community.plotly.com/
Get Started with Dash:
dash.plotly.com/tutorial
Video outline:
00:00 - Introduction
01:04 - Dashboard 1
02:14 - Run the Dashboard
03:02 - Dashboard 2
06:50 - Adding Interactivity
Пікірлер: 34
Happy to see Andrea Pirlo flourishing in a new career.
@Gtv7020
2 ай бұрын
Thanks. I was shocked at first. My favourite player just become my favourite teacher.
This is so cool! I like giving GPT, a random sample of my DF (and more info if needed, describe, info, etc), and for sure have a clear mockup of what I want to build, so I will have a clear rambling of what I want. Finally, I like telling chat GPT that when the updating code just send me the DELTAS(just the piece of code that changed). This is helpful to reduce the number of tokens used.
@Plotly
11 ай бұрын
Thanks for watching. Glad you found it helpful, Eduardo.
Thank you so much for sharing. I learned a great deal.
Charming! Thank you 🎉
Wooow this is amazing. And a great way to understand and learning the code. Thank you for sharing
@Plotly
Жыл бұрын
Thank you for watching.
Awesome
nice video🎉
I thought there was a gif of matthew mcconaughey in the corner while you were speaking. Realized a few minutes in that it was you. I might just be slow today.
Absolutely amazing, thank you! Quick question (I apologize if you address this already in the video ) does this require paid versions of either chatGPT, Dash, or Plotly?
@Plotly
11 ай бұрын
it does not. All is free unless ChatGPT changed their fee structure :)
Good
hi! I need help. How can i plot a histogram (bar) graph with yaxis hour and xaxis name employee in python, like excel?
@Plotly
Жыл бұрын
hi John, we recommend you take a look at the examples on our histogram page: plotly.com/python/histograms/ If that's still not clear, the best place to post your question would be on our Plotly Forum: community.plotly.com/
I have been using chatgpt to write dashboards for a while now. The biggest problem is it doesn't know the latest version of plotly. Do you know of anyway to get chatgpt to use the latest version of plotly?
@Plotly
Жыл бұрын
That's a good observation Teng Gao. This is because ChatGPT was trained on data up to year 2021. Now sure how quickly ChatGPT is getting trained on new/current data. To get ChatGPT to write the latest Dash code, you would have to limit its training data to the Plotly and Dash docs, which are most up to date.
Can you set this up in such a way that someone who asks for a simple visualization based on some data it will get automatically generated in a web app? Ex. Give me a visualization of the glucose spikes ordered descendent. In your video you were copy-pasting the code... I want to automatically pickup the code an generate the visual in one step after asking the quesiton
@Plotly
4 ай бұрын
Yes, that should be possible with LLMs. I've seen people do it with LangChain.
Please can u do one video on by usunig django create dashboards with chatgpt
@Plotly
Жыл бұрын
hi, thanks for the video suggestion. Although, django is a great library, this channel's focus is to offer content on the usage of Dash for data apps.
Could it be troublesome for chatgpt to parse a csv file with senstive data?
@Plotly
4 ай бұрын
you have to be careful when you do that, so your GPT doesn't give access to other users
How can Chat GPT access the internet link of github? Is this possible?
@Plotly
Жыл бұрын
hi Shaikh. It's possible because it's a public link. anyone can access it.
wow
Whats the point of taking hours learning and practicing if there is a machine doing it better and faster
@iamsantanubanerjee
4 ай бұрын
Human touch, tweaks and modifications, at least for now
@yellowlynx
3 ай бұрын
The business knowledge, what data to include, how to present, stil needs human. This process at best produce the bare bones.
so data scientist jobs are getting obselete
@Mr.Nichols
Жыл бұрын
Only you will be, with that mentality 😉
@Plotly
Жыл бұрын
I Don't think so, Sachin. But their roles will change for sure.
@davidtoohey783
Жыл бұрын
Coding skills will become obsolete, but programming will not. In fact, the productivity of programmers should skyrocket. Instead of coding by keying in each line, and then messing around with debugging, they can get slabs of code from ChatGPT, and then edit it for its purpose, thus saving a LOT of time. This is similar to programmers going back to their old project and reusing slabs of their own code, instead they can use ChatGPT to grab old code from the internet.