WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.730 --> 00:00:11.030
Hi. In this video we'll work with, uh,

1
00:00:11.140 --> 00:00:14.770
Jupyter Notebooks violator. In our last section,

2
00:00:15.270 --> 00:00:20.090
we have explored the file browser and we have seen it very simple and

3
00:00:20.120 --> 00:00:25.040
very easy to use. Uh, the same applies for the file editor as well,

4
00:00:25.740 --> 00:00:28.160
uh, but it provides you, uh,

5
00:00:28.350 --> 00:00:31.760
just the basic features to work with, uh,

6
00:00:31.970 --> 00:00:33.680
files and scripts.

7
00:00:35.850 --> 00:00:40.430
So let's go to our repository. Let's check this, uh,

8
00:00:40.630 --> 00:00:43.070
first folder for module number three.

9
00:00:44.050 --> 00:00:47.370
I prepared for you here a few files,

10
00:00:47.620 --> 00:00:49.330
which we'll use in this module.

11
00:00:50.740 --> 00:00:53.400
So let's open this utility by file

12
00:01:00.940 --> 00:01:04.910
here. I created just, uh, one Python function now,

13
00:01:04.910 --> 00:01:09.880
which takes one parameter and it brings the type of

14
00:01:09.880 --> 00:01:14.800
the input data and its shape. That means a number of columns and number of rows.

15
00:01:15.970 --> 00:01:19.630
It just for illustration, how to work with this, uh, file editor.

16
00:01:21.540 --> 00:01:25.070
Okay, we can go to file, we can create new files, save the files,

17
00:01:25.550 --> 00:01:28.030
rename the files, and directly download the files.

18
00:01:30.560 --> 00:01:34.200
A funny thing is when you click, uh, new button, uh,

19
00:01:34.220 --> 00:01:39.080
to create new file from the file editor, you got an error. But do not worry,

20
00:01:39.110 --> 00:01:41.970
this is, uh, a back in Jupyter,

21
00:01:42.310 --> 00:01:44.530
but there is a easy fix for it. Uh,

22
00:01:44.840 --> 00:01:49.530
just delete from the U r l undefined word at

23
00:01:49.630 --> 00:01:54.170
the beginning of the u r l and one flesh

24
00:01:56.470 --> 00:02:01.460
Now is working or you can create the files directly from the

25
00:02:01.460 --> 00:02:02.293
file browser.

26
00:02:07.600 --> 00:02:12.300
We can search for things in the text. Uh,

27
00:02:12.360 --> 00:02:17.220
we can search and replay the strings in the text and we can set the key

28
00:02:17.250 --> 00:02:18.083
maps.

29
00:02:19.400 --> 00:02:23.660
For those of you who doesn't know what regular expressions are,

30
00:02:24.650 --> 00:02:29.180
they allow you to search through text based on, uh,

31
00:02:29.180 --> 00:02:33.900
very complicated conditions. For example, I would like to search, uh,

32
00:02:35.220 --> 00:02:39.370
for a string column, but, uh,

33
00:02:39.830 --> 00:02:43.350
not columns. So not the SS at the end.

34
00:02:50.180 --> 00:02:54.310
This is the syntax for using regular expressions with the one slash at the

35
00:02:54.310 --> 00:02:57.070
beginning and one slash at the end.

36
00:03:00.000 --> 00:03:00.833
N B C.

37
00:03:01.260 --> 00:03:06.060
It has found one occurrence of the string column but

38
00:03:06.120 --> 00:03:07.940
not columns, which is here.

39
00:03:10.130 --> 00:03:14.850
I highly suggest to you to learn the basics of regular expressions,

40
00:03:15.070 --> 00:03:15.290
uh,

41
00:03:15.290 --> 00:03:20.220
because if you are beginner data scientist or uh,

42
00:03:20.580 --> 00:03:25.180
beginner programmer, you will definitely encounter, uh,

43
00:03:25.320 --> 00:03:28.260
use cases where you will find it very useful.

44
00:03:33.250 --> 00:03:35.680
Regarding key maps, uh,

45
00:03:35.920 --> 00:03:39.880
I think the default key map is okay with this, uh,

46
00:03:40.060 --> 00:03:43.840
the file editor will behave like, uh, notepad for example,

47
00:03:44.820 --> 00:03:49.720
but if you are used to work with other file editors like Sublime

48
00:03:49.720 --> 00:03:54.710
Text or Vim Editor or imex, uh, you can switch to this one.

49
00:04:00.380 --> 00:04:01.560
We can hide the heaters,

50
00:04:03.950 --> 00:04:07.010
we can hide the row numbers or to show

51
00:04:10.020 --> 00:04:14.160
and we can set the programming language of the script. Um,

52
00:04:14.860 --> 00:04:18.480
the file editor, it automatically guesses, uh,

53
00:04:18.660 --> 00:04:21.800
the programming language based on the

54
00:04:23.170 --> 00:04:24.660
extension of this file name.

55
00:04:29.230 --> 00:04:33.250
We see here that there are a lot of programming languages available.

56
00:04:42.050 --> 00:04:46.260
Okay, that was it for the file editor. In our next video,

57
00:04:46.640 --> 00:04:48.260
we will explore the terminal.
