WEBVTT

00:01.290 --> 00:07.080
This video is probably one of the most important videos of the entire costs and the following minutes

00:07.080 --> 00:13.490
I will show you how to download all datasets and Jupiter notebooks that we will use throughout the costs

00:13.530 --> 00:19.080
in the video lectures and you will learn how to open these notebooks and how to code along the videos

00:19.080 --> 00:25.410
or how to code in parallel to the videos with your own computer and you will also learn how to easily

00:25.410 --> 00:28.530
open and work with your own data sets.

00:28.530 --> 00:34.650
This is a real game changer and significantly enhances your learning experience as learning by doing

00:34.650 --> 00:36.540
is always the best approach.

00:36.930 --> 00:42.230
And it definitely makes a difference whether you are just watching the videos or whether your code in

00:42.240 --> 00:46.960
parallel and can verify what you see in the video was all right.

00:46.960 --> 00:52.540
So the basic assumption and requirements are that you successfully installed a condom on your computer

00:52.930 --> 00:57.330
and if this is not the case then please go back and follow the videos.

00:57.340 --> 00:59.950
Indeed getting started s..

01:00.100 --> 01:07.150
I always get questions from Mac users whether it is working in the same way on Mac and I can confirm

01:07.150 --> 01:07.580
this.

01:07.580 --> 01:10.550
It works in the very same way as on Windows.

01:10.780 --> 01:13.390
So this the tutorials made on my windows machine.

01:13.390 --> 01:19.730
But there is simply no difference to the Mac and as an example also on the Mac.

01:19.740 --> 01:26.350
There is a user's folder our home folder where by default all of your files are located and installed

01:26.920 --> 01:27.970
and by default.

01:27.970 --> 01:34.300
Also the anaconda distribution is installed and located in the user's our home folder and this holds

01:34.300 --> 01:40.600
true for Windows and Mac and by the way it's clearly recommended to have Anaconda installed in the user's

01:40.600 --> 01:45.560
folder otherwise they might come up some problems later on.

01:45.760 --> 01:51.150
And as long as you didn't change the location during the installation process your Anaconda is still

01:51.150 --> 01:55.150
located and the users are home for the hour right.

01:55.150 --> 01:55.670
We are young.

01:55.670 --> 02:03.010
The cost dashboard and we have just the finished lecture twelve first steps and we are here now in lecture

02:03.040 --> 02:09.280
thirty encoding exercise zero coding the video lectures and you can see here that there still no video

02:09.310 --> 02:16.810
because currently I am recording the video so you will find a video here and you can see on the right

02:16.810 --> 02:25.000
hand side resources and you can actually download all Jupiter notebooks and all CSP and extra files

02:25.040 --> 02:28.180
that we use throughout the video lectures.

02:28.210 --> 02:32.130
So this RCA set file and let's click on it here.

02:33.240 --> 02:40.680
And then you can download the file so you can pick your unsafe safe S and I recommend to download it

02:40.680 --> 02:42.200
here on the desktop.

02:42.240 --> 02:49.010
So I've already done it and I go now to my desktop I'm now on my desktop.

02:49.020 --> 02:55.170
And yes they downloaded the zip file video lecture notebooks and first of all we have to answer the

02:55.170 --> 03:00.050
file and we can do this here with a right click and the Select extract all.

03:00.690 --> 03:02.660
And by default you will extract the file.

03:02.670 --> 03:04.230
You're also on the desktop.

03:04.230 --> 03:05.990
So let's do this here.

03:09.950 --> 03:12.040
And here we have now the Ansett files.

03:12.040 --> 03:13.550
So let's have a look here

03:19.060 --> 03:23.370
if we can find our Jupiter notebooks that I use throughout the costs.

03:23.390 --> 03:30.160
So in total we have 14 Jupiter notebooks starting from Pandora's basics to interactive plots.

03:30.170 --> 03:32.150
And part two.

03:32.150 --> 03:39.080
And you can also see that here in this download folder we have all the CSP files and Excel files that

03:39.170 --> 03:41.800
we use throughout the cost and the video lectures.

03:41.800 --> 03:50.270
So for example the Titanic CSC file or the summer that the CSP file and we will see later that this

03:50.270 --> 03:57.470
is very important having the Jupiter notebooks and the corresponding CSP files and one folder.

03:57.470 --> 04:05.580
So here in the video elections folder and now let's open the anaconda navigator and we select here to

04:05.580 --> 04:11.220
put our notebooks.

04:11.320 --> 04:18.330
Here we are on the top of the dashboard and we can see here desktop and s we have saved our download

04:18.330 --> 04:19.800
folder on our desktop.

04:19.800 --> 04:22.300
Be sure to click here to desktop.

04:22.590 --> 04:25.600
And this is here actually a view on our desktop.

04:25.950 --> 04:34.320
So on my desktop I fear the open up rather than the Microsoft Edge browser than the video lecture notebooks

04:34.430 --> 04:43.570
set file and also the concept file and let's click on the concept file here a..

04:43.620 --> 04:45.920
Our 14 jubilant notebooks.

04:45.960 --> 04:47.750
And we can simply open here.

04:47.760 --> 04:50.010
The very first one pen basics

04:54.740 --> 04:57.230
and here we are starting with the very basics.

04:57.230 --> 05:05.300
So our very first impart and the first of all we import pen does and then as a next step we can import

05:05.380 --> 05:10.430
the Titanic that see as we file with the the direct Panda's method.

05:10.430 --> 05:11.620
Uh read CSB.

05:12.220 --> 05:15.200
So this is of course uh nothing new.

05:15.250 --> 05:21.510
And here we have uh the Titanic data frame and outcomes that the most important issue here.

05:21.720 --> 05:25.210
So we were able to import the Titanic.

05:25.310 --> 05:31.600
Yes we fire by just passing the file name Titanic that CSP to the read CSC method.

05:31.600 --> 05:35.340
And this only works if uh the Jupiter notebook.

05:35.340 --> 05:38.180
So here our notebook one and this.

05:38.210 --> 05:39.220
Yes we fire.

05:39.540 --> 05:44.900
So these two must be located in the same folder or fire and in our case.

05:44.970 --> 05:52.880
This is true because here we are again in the file or folder video lectures and the the notebook one

05:52.880 --> 05:57.870
pen basics and the CSB file Titanic are here in the same folder.

05:57.900 --> 06:00.440
So that's uh very important.

06:00.440 --> 06:00.950
All right.

06:00.960 --> 06:09.410
Now let's go on here and uh here we have uh the next lecture billed and functions attributes and methods.

06:09.510 --> 06:16.770
And as I said before many students watch the video lectures and go to the video lectures in parallel.

06:16.770 --> 06:24.340
So let's have a look how this could work so here we are in the next lecture and we can see that the.

06:24.340 --> 06:31.450
Here we are coding some data frame methods for example the head method for the Titanic data frame and

06:31.450 --> 06:37.330
now for example we can stop here the video and have you on the right hand side of our way to get a notebook

06:37.360 --> 06:40.990
a closer look into the code that I coded here in the video.

06:40.990 --> 06:46.290
So for example here we have the head method so let's run that method here.

06:46.300 --> 06:52.060
So here we can see where for the first five rows of the Titanic data frame and we can also play around

06:52.090 --> 06:59.740
with the head method and instead of getting the default value of five for the first five rows you can

06:59.740 --> 07:04.470
also get the first 10 rows by passing 10 to the parameter end.

07:04.490 --> 07:05.530
So let's do this here

07:09.390 --> 07:16.470
so this works and we can still play around or we can just go on with the video here.

07:17.540 --> 07:20.410
So this is pretty cool and pretty simple.

07:20.810 --> 07:23.840
And it definitely improves the learning experience.

07:23.840 --> 07:25.670
All right.

07:25.800 --> 07:30.330
We are back here on the tip of the dashboard and let's assume that you're on to perform your own analysis

07:30.360 --> 07:38.370
on the Titanic data frame and you want to create your own Jupiter notebook then you can do this and

07:38.460 --> 07:41.120
there's only one thing that you have to keep in mind.

07:41.160 --> 07:47.190
So you have to create the new Jupiter notebook in the very same location on the very same folder where

07:47.220 --> 07:50.870
also the Titanic CSP file is located.

07:50.970 --> 07:59.070
And here we are in the video lectures folder where we have already the Titanic yes we file and if you

07:59.070 --> 08:06.570
want to do your own analysis then you simply can create a new tidbit and notebook paste and three

08:09.920 --> 08:13.220
and let's rename the notebook for example to Titanic

08:18.490 --> 08:23.770
and let's create some sets here and then we can import that's first of all

08:29.980 --> 08:35.410
and then we can simply import to the Titanic CSP file with the read CSP method

08:39.760 --> 08:42.300
and we pass on the file name Titanic.

08:42.340 --> 08:43.360
The CEV

08:47.370 --> 08:51.990
so let's run the sale here and here we have our Titanic data frame.

08:51.990 --> 08:56.870
And the reason why this is pretty simple so we only have to pass the file name Titanic.

08:57.000 --> 08:58.060
See as.

08:58.450 --> 09:04.950
So the reason for this is that we have the Jupiter notebook here the Titanic too but a notebook and

09:05.160 --> 09:12.170
the CSP five Titanic here in one file or one folder and it's here the video lectures folder.

09:12.600 --> 09:16.000
And actually by the way it's not a completely unnecessary to F..

09:16.080 --> 09:19.150
The notebook and the CSB file in one folder.

09:19.230 --> 09:26.600
So there's one solution that also works of the notebook and to this USC file is not in the same folder.

09:26.670 --> 09:32.540
And if you're interested in this so write me a message and I will give you a guide on this here.

09:32.640 --> 09:36.160
But as I said before so this is the easy solution.

09:36.210 --> 09:43.020
So we simply create that to put a notebook in the same folder file where we have our Titanic CSP file

09:43.020 --> 09:46.420
located and that's all.

09:46.440 --> 09:54.660
Now let's assume that the V on your desktop and you have the CSB file IRS flowers and you want to perform

09:54.690 --> 10:02.450
a quite deep analysis on this dataset and therefore you have to create a Jupiter notebook and import

10:02.760 --> 10:06.330
the lowest dataset into the Jupiter notebook.

10:06.330 --> 10:13.570
And now in the following I will show you how this will not work so actually first of all we are starting

10:13.570 --> 10:17.150
the anaconda Navigator.

10:17.300 --> 10:19.570
So yes the anaconda navigator.

10:19.580 --> 10:22.100
And then we want to create a brand new.

10:22.110 --> 10:28.440
Tippett A notebook.

10:28.640 --> 10:30.530
So this is our job with a dashboard.

10:30.530 --> 10:34.680
And by default we have here a view on our users folder.

10:34.820 --> 10:37.070
And I can show you this in more detail.

10:37.700 --> 10:39.490
So now you're on the right hand side.

10:39.530 --> 10:42.670
This is my user's folder on on the left hand side.

10:42.740 --> 10:45.260
This is the my Jupiter dashboard.

10:45.260 --> 10:48.350
And you can see here that you on the left hand side.

10:48.380 --> 10:51.320
This is a view on my user's folder.

10:51.320 --> 10:58.070
So here we have actually the same sub folder starting with an icon the three desktop documents and the

10:58.070 --> 11:06.290
same structure you can see here and in the very end such as videos and set.

11:06.290 --> 11:10.230
So this is a view on our users folder.

11:10.550 --> 11:14.480
And now let's try to create a brand new Jupiter notebook here

11:18.400 --> 11:20.260
and let's import does

11:25.700 --> 11:29.040
and now let's try to import the IRS flowers.

11:29.120 --> 11:38.320
Yes we fire.

11:38.710 --> 11:43.010
So this is a UCSB file and let's run the cell here.

11:43.270 --> 11:47.760
And here you get an error message and it says the file IRS flower starts.

11:47.800 --> 11:49.630
Yes fee does not exist.

11:49.810 --> 11:55.000
And this is simply the case because here in our users folder we create it.

11:55.030 --> 12:00.210
Then you took it a notebook here called Untitled but know I use this folder.

12:00.220 --> 12:02.560
That's actually a no CSP file.

12:02.580 --> 12:06.330
So he is not the CSB file IRS flowers.

12:06.340 --> 12:09.170
And that's actually the reason why Jupiter cannot find here.

12:09.190 --> 12:10.370
The IRS flowers.

12:10.410 --> 12:13.980
Yes we file and therefore we get you the error message.

12:14.560 --> 12:18.390
So what can you do now if you want to analyze your own data sets.

12:18.400 --> 12:26.090
So let's go back here to the desktop and I already created a folder called my data sets.

12:26.280 --> 12:30.600
And actually what we could do we could actually copy here the iris flowers.

12:30.630 --> 12:37.360
Yes we file into my datasets so here we have now this CSP file.

12:37.920 --> 12:40.700
And now let's go back to the Jupiter dashboard.

12:41.070 --> 12:49.230
So here we are again in the Jupiter dashboard and we know that our forward my data sets is on the desktop.

12:49.230 --> 12:57.060
Then we can see here the folder my data sets and we can see the CSP file Iris flowers and our if we

12:57.060 --> 13:01.440
create a brand new Jupiter notebook with clicking here on you.

13:01.590 --> 13:06.870
And if you try then to import the iris flowers yes we fire then it should work.

13:06.890 --> 13:11.820
All right and that's actually one last thing that I want to show you so far.

13:11.820 --> 13:18.820
We had our folders with the Jupiter notebooks and the CSP files here on our desktop.

13:18.990 --> 13:25.080
But it might be the case that we say that okay we do not want to have these folders on our desktop.

13:25.080 --> 13:32.310
Then my clear recommendation would be to just move these folders into the user's folder.

13:32.670 --> 13:36.270
So let's do this here with the default on my datasets.

13:36.330 --> 13:43.480
So we move my data sets into my users folder here so this is no problem.

13:43.480 --> 13:46.820
And now let's go back to the Jupiter dashboard.

13:47.080 --> 13:52.750
And we've already learned that here in the Jupiter dashboard this is a view on our users folder.

13:52.900 --> 13:58.000
And as we moved the folder my data sets into our users folder.

13:58.000 --> 14:02.310
Now we can see here the folder my data sets and we can open it.

14:02.800 --> 14:10.270
And here we can see now our CSP file and then of course we can also create a brand new Jupiter notebook

14:10.720 --> 14:17.350
and then we can import the iris flowers CEV into our Jupiter notebook and then we can analyze them the

14:17.340 --> 14:18.850
data set.

14:18.850 --> 14:25.670
So this was a pretty important video about how to download and how to open and work with the Jupiter

14:25.700 --> 14:29.590
notebooks and CSP files and Excel files.

14:29.680 --> 14:37.870
So not only for the cost materials but also working with your own CSP files and if you experience some

14:37.870 --> 14:44.020
problems or some error messages then I would highly recommend you to read watch the video.

14:44.590 --> 14:48.850
And if you still have some problems then of course you can also drop me a message.

14:48.850 --> 14:55.300
All right on the q and a board so I hope this video was pretty helpful for you and I hope to see you

14:55.300 --> 14:57.490
also in the next video by.
