Improve Working With Data Using ChatGPT

Generate Data in any format with ChatGPT

Techletters
4 min readJan 6, 2023
Improve Working With Data Using ChatGPT. Image created by the author using Canva Pro.
Improve Working With Data Using ChatGPT. Image created by the author using Canva Pro.

ChatGPT is a hot topic recently and the hype is justified. It is like Google on steroids. If you are working in the space of Data Analytics or Data Science you often need data.

Why don’t you use ChatGPT to generate the data in the format you need? I will showcase some examples that help you understand the patterns.

Example 1: Get Airport Data as CSV

Imagine you need data about the different international airports in the world with their IATA code. Just ask ChatGPT to get it for you.

##My Input
Get me a list of all international airports, their city and IATA code

##ChatGPT response
1. John F. Kennedy International Airport (JFK) - New York City, NY
2. Heathrow Airport (LHR) - London, England
3. Los Angeles International Airport (LAX) - Los Angeles, CA
4. Charles de Gaulle Airport (CDG) - Paris, France
5. O'Hare International Airport (ORD) - Chicago, IL
6. Frankfurt Airport (FRA) - Frankfurt, Germany
7. Hong Kong International Airport (HKG) - Hong Kong
8. Tokyo International Airport (HND) - Tokyo, Japan
9. Amsterdam Airport Schiphol (AMS) - Amsterdam, Netherlands
10. Dubai International Airport (DXB) - Dubai, UAE
...

--

--