Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Comments
Bookmark
Share
Add to Playlist
Report
9. SOLUTION- Examining - Filtering Video
eTrainerbox
Follow
6/7/2025
Category
📚
Learning
Transcript
Display full video transcript
00:00
Welcome to the homework walkthrough for the examining and filtering section of this course.
00:04
Let's start off by connecting to our data set.
00:07
We'll choose connect to data, and we're going to go over to the text file option.
00:11
From here we'll navigate to our Indian food CSV file.
00:15
We'll select the file and choose open.
00:17
Next we're going to go over to our automatic prompt for the clean step and select it.
00:22
If this option doesn't come up, then you can always hit the plus sign to the right hand side of the Indian food input step
00:29
and choose clean step.
00:30
Now that we're in our clean step, we're going to find the exact number of rows and fields in the data set.
00:35
We can find that in the top left hand corner of our profile pane.
00:39
We can see that there are nine fields and 255 rows in the data set.
00:44
The next question we want to answer is how many states the dishes originate from in this data set.
00:50
Let's go ahead and find the states field.
00:53
If we move over to the right, we can see it.
00:54
And then we want to know the distinct count of the number of states in the data set.
01:00
By looking to the right hand side of the field name, we can see that there are 25 unique values in this column.
01:06
That means there's 25 unique states contained within the data set.
01:10
Now let's take a quick look at our data types found in our data set.
01:14
We can see that we have a combination of string fields and numeric fields.
01:18
But where could we see this in a better way?
01:20
Let's go ahead and change this to our list view so that we can see a condensed profile of our fields.
01:26
Now we can see that we have 1, 2, 3, 4, 5, 6, 7 fields that are string type.
01:33
This is also an easy place to change your data types and to modify your fields as needed.
01:38
Let's go back and see the profile pane how it normally is with our distribution.
01:43
We can see that our prep time and cook time fields are set up using the summary view.
01:47
What we want to answer is what is our most common prep time and what is our most common cook time for our meals contained inside the data set.
01:55
To do that, we can switch over to the detailed view for these fields to figure out the most common times.
02:01
I'm going to click on more options.
02:03
Then I'll go down to my detail.
02:05
And I can quickly see that my highest bar is 10.
02:08
So 10 minutes is the most common prep time in this data set.
02:12
Let's go over to cook time and do the same.
02:14
We'll switch to our detail view and we can see that 30 minutes is the most common cook time for any of our meals in the data set.
02:22
The next thing we want to do is find a dish that has lime in it.
02:25
As Sai's favorite is lime, so we know that he's going to make a dish with lime in it.
02:29
So we're going to go over to our ingredients field.
02:32
We'll hit our search icon.
02:34
We're going to type in lime and we're going to hit enter.
02:37
And then it will be filtered down to just those ingredients that have lime.
02:42
We'll click on that.
02:44
And our data will profile down to just those that have lime.
02:47
And they will be highlighted in blue.
02:49
We can also see that our data grid has named this dish as the only one that has lime in it.
02:55
So it seems like this one's going to have to make the list into the food truck.
02:58
Let's go ahead and clear our search.
03:00
The next thing we want to do is move our prep and cook time fields to the rightmost in the data set.
03:06
So let's go ahead and we'll drag our slider over.
03:10
And I can click on my prep time and use control or command if you're using a Mac.
03:15
And I can click and drag my fields over.
03:19
And I want them to be the rightmost, so I'll let that black line appear and I'll drop them there.
03:24
Next up, we want to find out which state has the most sweet flavor profile.
03:28
So to do that, we can use our highlighting functionality.
03:32
We'll go over to sweet.
03:33
We'll select it under our flavor profile.
03:36
And searching down our list, I think West Bengal is the winner of the most sweet flavor profile.
03:42
All right, now that we've profiled the data a bit, we're going to filter down the data set to just size preferences.
03:49
He's given us a list, so let's go through it and filter our data down.
03:53
Now, since this is a dessert food truck, we're only going to be looking at desserts.
03:56
So we're going to go over and select dessert under our course.
04:00
Right-click and choose keep only.
04:03
That will filter our entire data set just down to desserts.
04:06
All right, and then we're going to choose just a particular number of states that are size preferences.
04:11
So we're going to go down, go to more options, choose filter, and we're going to pick selected values.
04:17
That way we can get a list to select from.
04:19
And we're going to choose Bihar, Disha, and West Bengal states only.
04:25
All right, that's looking good.
04:26
We want to make sure that's on keep only because we're only going to keep those data sets.
04:30
And we're going to choose done.
04:32
Next, we're going to look at cook time because this is a food truck and we need our dishes to be made pretty quickly.
04:37
So we're going to place a filter on the cook time so that it's less than 25 minutes.
04:43
Let's go ahead and add a calculation filter.
04:46
And we're going to say cook time less than or equal to 25 minutes.
04:52
Let's click save on that.
04:53
And our data will be filtered down to just those dishes that take less than 25 minutes to cook.
04:58
All right, so what are the remaining dishes that will be the initial food truck menu?
05:03
Looks like we have Balu Shahi, Perni, Sendesh, and Chiridoy.
05:10
Looks like we'll need quite a bit of prep time for these meals, but the cook time will be relatively quick.
05:14
So I think our customers will be pretty happy with this list.
05:18
Let's go ahead and save our flow so that we can hand this information out back to Sai.
Recommended
21:01
|
Up next
Video Solutions
Beasley Digital
4/17/2025
2:13
Analyse video U15
footeo-clubeo
11/1/2020
3:39
Video 9
FNATH
11/19/2018
9:26
Satisfying Slime Videos #9
ginasteve8695
12/14/2018
1:02
8. ASSIGNMENT- Examining - Filtering Video
eTrainerbox
6/7/2025
3:37
Highlighting
eTrainerbox
6/7/2025
5:26
9. Value Operations - Split Values Video
eTrainerbox
6/1/2025
1:19
Test 2
eTrainerbox
5/20/2025
4:48
3. Value Distribution Video
eTrainerbox
5/9/2025
0:52
11. ASSIGNMENT- Connecting to Data Video
eTrainerbox
5/9/2025
4:15
10. SOLUTION- Connecting to Data Video
eTrainerbox
5/9/2025
5:03
9. Refreshing Data Video
eTrainerbox
5/9/2025
5:22
8. Data Sampling Video
eTrainerbox
5/9/2025
4:03
7. Text Configuration Video
eTrainerbox
5/9/2025
6:46
6. Input Cleaning Video
eTrainerbox
5/9/2025
13:29
Data Connection Examples Video
eTrainerbox
5/9/2025
8:24
4. Wildcard Unions Video
eTrainerbox
5/9/2025
1:35
Understanding Data Connection Types in Tableau Prep
eTrainerbox
5/9/2025
1:25
1 - Installing R
eTrainerbox
12/6/2024
11:47
2 - Data science with R A case study
eTrainerbox
12/6/2024
6:47
1 - R in context
eTrainerbox
12/6/2024
1:27
1 - Make your data make sense
eTrainerbox
11/29/2024
1:05
Intro to Tableau Prep 1. Connecting to Data Video
eTrainerbox
10/27/2024
6:27
test 2
eTrainerbox
5/19/2025
0:51
Former Aide Claims She Was Asked to Make a ‘Hit List’ For Trump
Veuer
9/27/2023