From the course: Generative AI for Data Engineering: ChatGPT Power Tips
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Generating data engineering code with ChatGPT
From the course: Generative AI for Data Engineering: ChatGPT Power Tips
Generating data engineering code with ChatGPT
- [Instructor] So far in this course, we have learned how we can write a good ChatGPT prompt. Now, it's time to do that in a very practical manner. So let's assume that I want to write a Python script to clean the data from a CSV file where my column names are Customerid, name, address, and phone number. And I can just say Enter. Now, here, you can understand that we have tried to give a little bit of context that we want to write a script and we want to clean the data from CSV file, and I have given the exact column names. So now, you can understand that it has written an entire script for me. Maybe, if tomorrow I feel that, while I am doing this, I have not given a way on which I want to clean. For example, here you see, I've not given what to clean. I just gave the details. So ChatGPT has used its own knowledge and thought that there could be possibility that a phone number might not be a correct one. So it has added a logic to clean the phone number, right? So that's how it can do…
Contents
-
-
-
-
(Locked)
Generating data engineering code with ChatGPT3m 6s
-
(Locked)
Automating documentation with ChatGPT2m 56s
-
(Locked)
Debugging data pipelines using ChatGPT4m 7s
-
Optimizing SQL queries with ChatGPT3m 56s
-
(Locked)
Using ChatGPT for data cleaning scripts3m 44s
-
(Locked)
ChatGPT for data analysis and insights3m 55s
-
(Locked)
-
-
-