WEBVTT - This file was automatically generated by VIMEO

0
00:00:10.480 --> 00:00:15.420
Hi, and welcome to our fifth module where we will explore a Jupyter Next

1
00:00:15.420 --> 00:00:17.860
Generation interface called Jupyter Lab

2
00:00:19.480 --> 00:00:24.460
to introduce this module. Uh, it'll be not so long like the previous one, uh,

3
00:00:24.540 --> 00:00:28.300
because most of the things that you have learned in the previous module will

4
00:00:28.410 --> 00:00:30.940
work the same way. But in addition,

5
00:00:31.200 --> 00:00:35.820
the Jupyter Lab provides you more flexibility and extended functionality,

6
00:00:36.430 --> 00:00:41.240
which will simplify your work. We'll make some, uh, small interaction.

7
00:00:42.010 --> 00:00:45.360
We'll learn how to organize our workspace in Jupyter Lab.

8
00:00:46.500 --> 00:00:48.370
We'll check the differences, uh,

9
00:00:48.370 --> 00:00:51.970
between classic Notebook interface and Jupyter Lab.

10
00:00:53.510 --> 00:00:56.250
Uh, we'll learn how to change, uh, settings,

11
00:00:57.500 --> 00:01:01.680
how to manage extensions. We will try collaborative editing,

12
00:01:02.980 --> 00:01:06.560
Jupyter Lab debugger. And during all of this,

13
00:01:06.780 --> 00:01:10.920
we will make a small introduction to classification problem, uh,

14
00:01:10.920 --> 00:01:13.320
using logistic regression and the random forest.

15
00:01:15.460 --> 00:01:19.880
In this video, we will learn how to organize Jupyter Lab, uh, workspace.

16
00:01:20.990 --> 00:01:22.960
Okay, now let's go to our Jupyter Lab.

17
00:01:28.960 --> 00:01:32.770
Okay, now we see the Jupyter Lab and it's ui. Uh,

18
00:01:32.870 --> 00:01:37.210
one of the biggest advantages of Jupyter Lab is that you can manage everything

19
00:01:37.230 --> 00:01:40.640
in one tap. Uh, this is a big advantage, um,

20
00:01:40.980 --> 00:01:45.000
but might be also a disadvantage in some cases, uh,

21
00:01:45.000 --> 00:01:48.320
because it uses more JavaScript. And when you have, uh,

22
00:01:48.320 --> 00:01:53.120
big notebooks with a load of j script included like plotly charts or printed

23
00:01:53.400 --> 00:01:56.440
a lot of other elements like charts, data frames,

24
00:01:56.610 --> 00:02:00.680
maybe also other elements from some other extensions,

25
00:02:01.460 --> 00:02:05.240
uh, then working with the notebook might be quite slow. When this happens,

26
00:02:05.640 --> 00:02:10.580
I prefer to switch to classic notebooks interface. So what you can do

27
00:02:12.470 --> 00:02:17.250
now, we are in the landing page, we see the launcher. Uh,

28
00:02:17.350 --> 00:02:19.650
we can start uh, new notebook,

29
00:02:22.600 --> 00:02:24.340
we can open new notebooks,

30
00:02:32.920 --> 00:02:37.900
we can launch, uh, new terminals or open new files

31
00:02:41.120 --> 00:02:44.700
and we can organize it, uh, but is best for us.

32
00:02:47.450 --> 00:02:51.830
We just drag and drop, uh, the window with the terminal, for example.

33
00:02:52.690 --> 00:02:53.950
And now we have it at the bottom.

34
00:03:03.200 --> 00:03:06.520
What is new and v i frequently use is the console,

35
00:03:06.930 --> 00:03:08.920
which can be attached to a notebook.

36
00:03:09.260 --> 00:03:13.480
And you can execute code and access all of the objects of the notebook,

37
00:03:13.530 --> 00:03:16.160
print data frames, or plot data. For example,

38
00:03:17.810 --> 00:03:22.330
when you right click on the notebook, click new console for the notebook

39
00:03:24.020 --> 00:03:26.000
and we can arrange it here to the bottom.

40
00:03:32.280 --> 00:03:36.650
What I like sometimes also is the contextual help with Ctrl I.

41
00:03:39.350 --> 00:03:44.290
You'll see now here very quickly the documentation of some classes or

42
00:03:45.240 --> 00:03:46.170
objects or methods.

43
00:03:53.680 --> 00:03:57.090
What I like also is the lock console.

44
00:03:57.960 --> 00:04:02.610
When we go to the view tab, show log console

45
00:04:04.160 --> 00:04:07.570
here, you'll be able to see all of the outputs, uh, what is in that,

46
00:04:07.570 --> 00:04:08.490
in the notebook as well.

47
00:04:15.620 --> 00:04:18.860
I run this notebook in the module five folder. For example,

48
00:04:28.720 --> 00:04:32.930
I have to set it this way to the back and we can run it now

49
00:04:45.110 --> 00:04:46.570
and we see all the outputs.

50
00:04:54.770 --> 00:04:58.940
We can save this workspace. Go to file,

51
00:04:59.370 --> 00:05:00.540
save current workspace,

52
00:05:03.640 --> 00:05:07.300
and next time you'll load the Jupyter app. Uh,

53
00:05:07.520 --> 00:05:12.300
you can directly open this workspace and continue very left off. In

54
00:05:15.160 --> 00:05:19.000
our next video, we will continue exploring the Jupyter App ui.
