From the course: 15 ChatGPT Tips for Everyday Data Analysis
How to fix inconsistent text data with ChatGPT - ChatGPT Tutorial
From the course: 15 ChatGPT Tips for Everyday Data Analysis
How to fix inconsistent text data with ChatGPT
There's nothing worse than opening an Excel file for analysis, only to realize that the data is a complete mess. In this video, I'll show you how to use Chats GPT to instantly clean and standardize messy text, so you can focus on the part that actually matters, analyzing the data. For example, here we have a sales dataset with customer names, states, and sale amounts, but the state column is a mess. California appears as CA, C.A, and California, and the same kind of inconsistencies show up across all of the other states as well. This may not seem like a big deal, but the moment we try to summarize this data, the same state shows up multiple times, and our analysis is instantly wrong. Instead of manually fixing each state row by row, let's ask ChatGPT for help. Just copy the data table, open ChatGPT, and enter the prompt Can you clean all of the states in this data so that each row contains a full U.S. state name? Then paste the Excel data table into the chat and press enter. ChatGPT immediately scans the entire table, recognizes the values that represent the same state, and then automatically standardized every row to the full U.S. state name. This data table looks so much better, so I'm going to tell ChatsGPT to return this as a download-ready Excel file, and ChatsGPT instantly generated an Excel file containing the clean data. Now all we have to do is download the new file, and we are ready for analysis, a task that could have taken hours of tedious Excel work done in seconds.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
Getting started: ChatGPT and spreadsheets1m 40s
-
How to audit spreadsheets with ChatGPT1m 21s
-
How to fill missing values with ChatGPT1m 11s
-
How to fix inconsistent text data with ChatGPT1m 18s
-
How to merge multiple spreadsheet files with ChatGPT1m 27s
-
How to create date-based fields with ChatGPT1m 33s
-
How to group, sort & filter data with ChatGPT1m 17s
-
How to flag rows based on conditions with ChatGPT1m 6s
-
How to write formulas with ChatGPT1m 16s
-
How to debug formulas with ChatGPT1m 28s
-
How to calculate statistics with ChatGPT1m 25s
-
How to create pivot tables with ChatGPT1m 11s
-
How to analyze data & create charts with ChatGPT1m 12s
-
How to create python charts in excel with ChatGPT1m 12s
-
How to compare datasets with ChatGPT1m 12s
-
How to forecast data with ChatGPT1m 12s
-