﻿1
00:00:00,030 --> 00:00:04,110
this is<font color="#CCCCCC"> Torah I'm going to show</font><font color="#E5E5E5"> you how</font>

2
00:00:01,770 --> 00:00:06,869
<font color="#E5E5E5">to import data and analyze</font><font color="#CCCCCC"> it with a</font>

3
00:00:04,110 --> 00:00:09,420
Python<font color="#E5E5E5"> and using the pandas package so</font>

4
00:00:06,870 --> 00:00:13,049
let's say we have some data<font color="#CCCCCC"> like you</font>

5
00:00:09,420 --> 00:00:15,330
<font color="#CCCCCC">know something</font><font color="#E5E5E5"> like time here in column</font>

6
00:00:13,049 --> 00:00:19,500
and then<font color="#E5E5E5"> we might</font><font color="#CCCCCC"> have some sensor data</font>

7
00:00:15,330 --> 00:00:21,930
that we've read in and in this case I'm

8
00:00:19,500 --> 00:00:25,230
going to<font color="#E5E5E5"> have</font><font color="#CCCCCC"> eight sensors</font><font color="#E5E5E5"> okay so it's</font>

9
00:00:21,930 --> 00:00:27,869
kind of like a table<font color="#E5E5E5"> of sensors</font><font color="#CCCCCC"> I want</font>

10
00:00:25,230 --> 00:00:32,640
to import these and then maybe take<font color="#E5E5E5"> the</font>

11
00:00:27,869 --> 00:00:34,649
average of the sensors<font color="#CCCCCC"> at least any good</font>

12
00:00:32,640 --> 00:00:38,399
<font color="#E5E5E5">one so I might</font><font color="#CCCCCC"> have</font><font color="#E5E5E5"> some bad data in</font>

13
00:00:34,649 --> 00:00:41,850
here<font color="#E5E5E5"> as well and take the average and</font>

14
00:00:38,399 --> 00:00:44,520
then export<font color="#E5E5E5"> this okay so after it's</font>

15
00:00:41,850 --> 00:00:48,989
imported<font color="#CCCCCC"> you know just this raw data</font>

16
00:00:44,520 --> 00:00:53,100
<font color="#CCCCCC">take the average</font><font color="#E5E5E5"> and then export the</font>

17
00:00:48,989 --> 00:00:56,280
combined table into another data file or

18
00:00:53,100 --> 00:00:58,170
back into<font color="#E5E5E5"> something like</font><font color="#CCCCCC"> excel ok so</font>

19
00:00:56,280 --> 00:01:01,949
this is going<font color="#CCCCCC"> to</font><font color="#E5E5E5"> be the exercise let me</font>

20
00:00:58,170 --> 00:01:04,619
just show you a couple things<font color="#E5E5E5"> from the</font>

21
00:01:01,949 --> 00:01:09,810
course<font color="#E5E5E5"> website</font><font color="#CCCCCC"> so if you go to AP</font>

22
00:01:04,619 --> 00:01:14,250
monitor comm and then go to CH e 263 and

23
00:01:09,810 --> 00:01:17,159
then on the on the<font color="#E5E5E5"> right hand side we</font>

24
00:01:14,250 --> 00:01:20,100
have<font color="#CCCCCC"> the Excel and VBA so we</font><font color="#E5E5E5"> already did</font>

25
00:01:17,159 --> 00:01:23,509
this example<font color="#E5E5E5"> in Excel so</font><font color="#CCCCCC"> we imported the</font>

26
00:01:20,100 --> 00:01:26,580
<font color="#CCCCCC">data</font><font color="#E5E5E5"> and then and then took this average</font>

27
00:01:23,509 --> 00:01:28,619
and you can do that quickly<font color="#E5E5E5"> in Excel</font>

28
00:01:26,580 --> 00:01:32,009
sometimes when you're dealing with<font color="#CCCCCC"> very</font>

29
00:01:28,619 --> 00:01:34,950
<font color="#CCCCCC">large datasets</font><font color="#E5E5E5"> though or you want to do</font>

30
00:01:32,009 --> 00:01:38,040
<font color="#E5E5E5">this programmatically versus in an Excel</font>

31
00:01:34,950 --> 00:01:40,500
we use<font color="#E5E5E5"> something like Python</font><font color="#CCCCCC"> ok and so</font>

32
00:01:38,040 --> 00:01:42,869
I'm going to come here<font color="#E5E5E5"> to the Python</font>

33
00:01:40,500 --> 00:01:47,280
side and you can select data analysis

34
00:01:42,869 --> 00:01:49,560
here<font color="#CCCCCC"> I did a former tutorial on using</font>

35
00:01:47,280 --> 00:01:52,049
doing the same example<font color="#CCCCCC"> but with</font><font color="#E5E5E5"> just</font>

36
00:01:49,560 --> 00:01:54,960
numpy<font color="#CCCCCC"> ok without the extra pandas</font>

37
00:01:52,049 --> 00:01:58,979
package and so for this<font color="#E5E5E5"> one we're going</font>

38
00:01:54,960 --> 00:02:01,250
to do it with pandas<font color="#CCCCCC"> so to get the data</font>

39
00:01:58,979 --> 00:02:04,740
file for this go<font color="#CCCCCC"> ahead</font><font color="#E5E5E5"> and just select</font>

40
00:02:01,250 --> 00:02:08,639
this source code<font color="#CCCCCC"> it'll download</font><font color="#E5E5E5"> a zip</font>

41
00:02:04,740 --> 00:02:09,369
file<font color="#CCCCCC"> ok and then go grab that from</font><font color="#E5E5E5"> your</font>

42
00:02:08,639 --> 00:02:12,640
download

43
00:02:09,369 --> 00:02:14,980
<font color="#E5E5E5">the river is</font><font color="#CCCCCC"> saved - I'm just going to</font>

44
00:02:12,640 --> 00:02:17,798
copy<font color="#CCCCCC"> that onto</font><font color="#E5E5E5"> my desktop</font><font color="#CCCCCC"> and then</font>

45
00:02:14,980 --> 00:02:21,030
<font color="#CCCCCC">right-click it and</font><font color="#E5E5E5"> extract all</font>

46
00:02:17,799 --> 00:02:25,390
okay so I'll extract<font color="#E5E5E5"> this folder and</font>

47
00:02:21,030 --> 00:02:26,860
here I have an example<font color="#E5E5E5"> script here's the</font>

48
00:02:25,390 --> 00:02:28,750
<font color="#CCCCCC">solution right here that we're</font><font color="#E5E5E5"> going</font><font color="#CCCCCC"> to</font>

49
00:02:26,860 --> 00:02:31,720
go through<font color="#E5E5E5"> but more importantly we just</font>

50
00:02:28,750 --> 00:02:35,530
have these data files<font color="#CCCCCC"> okay so here it is</font>

51
00:02:31,720 --> 00:02:38,709
in<font color="#E5E5E5"> Excel and if we</font><font color="#CCCCCC"> just open it up click</font>

52
00:02:35,530 --> 00:02:41,230
<font color="#E5E5E5">enable editing</font><font color="#CCCCCC"> and then I see that I</font>

53
00:02:38,709 --> 00:02:43,209
<font color="#E5E5E5">have you</font><font color="#CCCCCC"> know time</font><font color="#E5E5E5"> and then my</font><font color="#CCCCCC"> eight</font>

54
00:02:41,230 --> 00:02:47,349
<font color="#E5E5E5">sensors one of the things that you'll</font>

55
00:02:43,209 --> 00:02:50,340
<font color="#CCCCCC">see is that sensors</font><font color="#E5E5E5"> five six and five</font>

56
00:02:47,349 --> 00:02:53,470
through<font color="#E5E5E5"> eight</font><font color="#CCCCCC"> those are not a number</font>

57
00:02:50,340 --> 00:02:55,870
<font color="#CCCCCC">okay as</font><font color="#E5E5E5"> you can see those were bad</font>

58
00:02:53,470 --> 00:02:59,590
sensors and so I want to<font color="#E5E5E5"> just take an</font>

59
00:02:55,870 --> 00:03:03,069
average of these four<font color="#CCCCCC"> okay you also see</font>

60
00:02:59,590 --> 00:03:04,599
<font color="#E5E5E5">that time does</font><font color="#CCCCCC"> not start at zero</font><font color="#E5E5E5"> okay so</font>

61
00:03:03,069 --> 00:03:07,569
<font color="#E5E5E5">we're going to need to time shift that</font>

62
00:03:04,599 --> 00:03:10,179
as well I'm<font color="#E5E5E5"> going to go ahead and close</font>

63
00:03:07,569 --> 00:03:12,458
this I also got the<font color="#E5E5E5"> data in just a data</font>

64
00:03:10,180 --> 00:03:14,049
file<font color="#E5E5E5"> and that's just a text file without</font>

65
00:03:12,459 --> 00:03:18,250
the<font color="#E5E5E5"> headers</font>

66
00:03:14,049 --> 00:03:22,180
I find that<font color="#CCCCCC"> okay so no headers there but</font>

67
00:03:18,250 --> 00:03:23,709
you can see the data in each<font color="#E5E5E5"> row</font><font color="#CCCCCC"> okay</font>

68
00:03:22,180 --> 00:03:27,010
I'm going<font color="#E5E5E5"> to</font><font color="#CCCCCC"> go ahead and close</font><font color="#E5E5E5"> that or</font>

69
00:03:23,709 --> 00:03:29,650
you have<font color="#CCCCCC"> a CSV file and</font><font color="#E5E5E5"> if I</font><font color="#CCCCCC"> right click</font>

70
00:03:27,010 --> 00:03:31,599
this one<font color="#CCCCCC"> and unless they just</font><font color="#E5E5E5"> edit with</font>

71
00:03:29,650 --> 00:03:35,260
a notepad<font color="#E5E5E5"> you</font><font color="#CCCCCC"> can see this is just a</font>

72
00:03:31,599 --> 00:03:38,709
text<font color="#E5E5E5"> file as well okay but it has the</font>

73
00:03:35,260 --> 00:03:42,519
time sensor<font color="#E5E5E5"> 1 through sensor 8 and then</font>

74
00:03:38,709 --> 00:03:45,010
each row<font color="#CCCCCC"> is a separate data point for</font>

75
00:03:42,519 --> 00:03:46,959
each of<font color="#CCCCCC"> those sensors okay so I'm going</font>

76
00:03:45,010 --> 00:03:49,328
to actually<font color="#E5E5E5"> work</font><font color="#CCCCCC"> with this data with</font>

77
00:03:46,959 --> 00:03:53,500
<font color="#E5E5E5">headers because pandas does a really</font>

78
00:03:49,329 --> 00:03:56,730
good job with<font color="#CCCCCC"> headers okay so let's just</font>

79
00:03:53,500 --> 00:04:02,139
go<font color="#E5E5E5"> ahead and</font><font color="#CCCCCC"> open up a new ipython</font>

80
00:03:56,730 --> 00:04:05,888
notebook<font color="#CCCCCC"> ok when that opens and it'll</font>

81
00:04:02,139 --> 00:04:07,720
<font color="#E5E5E5">come</font><font color="#CCCCCC"> up with okay here and I'm going to</font>

82
00:04:05,889 --> 00:04:10,660
go to my desktop<font color="#CCCCCC"> I'm just going to</font><font color="#E5E5E5"> go to</font>

83
00:04:07,720 --> 00:04:13,599
that same<font color="#E5E5E5"> folder that I just extracted</font>

84
00:04:10,660 --> 00:04:16,449
because<font color="#CCCCCC"> then I can access the the data</font>

85
00:04:13,599 --> 00:04:18,250
file<font color="#E5E5E5"> okay and so I'm going to select</font>

86
00:04:16,449 --> 00:04:21,450
over on the<font color="#CCCCCC"> right-hand side I'll then</font>

87
00:04:18,250 --> 00:04:25,710
select<font color="#E5E5E5"> new and</font><font color="#CCCCCC"> then a new</font>

88
00:04:21,450 --> 00:04:28,020
book here and<font color="#E5E5E5"> okay so this is just</font><font color="#CCCCCC"> a</font>

89
00:04:25,710 --> 00:04:30,599
blank notebook<font color="#CCCCCC"> I can rename it by</font>

90
00:04:28,020 --> 00:04:38,250
clicking<font color="#E5E5E5"> the untitled</font><font color="#CCCCCC"> okay so I'll just</font>

91
00:04:30,600 --> 00:04:39,630
<font color="#E5E5E5">call</font><font color="#CCCCCC"> this import data and analyze</font><font color="#E5E5E5"> okay</font>

92
00:04:38,250 --> 00:04:40,230
so I'm going<font color="#CCCCCC"> to</font><font color="#E5E5E5"> import the data and</font>

93
00:04:39,630 --> 00:04:42,960
<font color="#CCCCCC">analyze it</font>

94
00:04:40,230 --> 00:04:44,490
let's go<font color="#E5E5E5"> just import some of the</font>

95
00:04:42,960 --> 00:04:47,210
packages that<font color="#E5E5E5"> we're</font><font color="#CCCCCC"> going</font><font color="#E5E5E5"> to use for</font>

96
00:04:44,490 --> 00:04:52,110
this<font color="#E5E5E5"> so first of all I'll just import</font>

97
00:04:47,210 --> 00:04:56,280
numpy<font color="#E5E5E5"> as NP</font><font color="#CCCCCC"> and I'll also do the same</font>

98
00:04:52,110 --> 00:05:00,290
with pandas<font color="#E5E5E5"> a lot of people do PD for</font>

99
00:04:56,280 --> 00:05:04,799
pandas and then later I'm going<font color="#E5E5E5"> to also</font>

100
00:05:00,290 --> 00:05:06,980
<font color="#E5E5E5">import matplotlib</font><font color="#CCCCCC"> and</font><font color="#E5E5E5"> pipe lot but</font><font color="#CCCCCC"> let's</font>

101
00:05:04,800 --> 00:05:10,770
just go<font color="#CCCCCC"> ahead</font><font color="#E5E5E5"> and start with these two</font>

102
00:05:06,980 --> 00:05:12,480
<font color="#CCCCCC">and so it's going to</font><font color="#E5E5E5"> import those two</font>

103
00:05:10,770 --> 00:05:16,979
and then I'm going<font color="#E5E5E5"> to go ahead and</font>

104
00:05:12,480 --> 00:05:19,800
insert a cell below<font color="#E5E5E5"> okay and then what I</font>

105
00:05:16,980 --> 00:05:24,890
<font color="#E5E5E5">want to do is now load I'll load the</font>

106
00:05:19,800 --> 00:05:27,960
data file okay and so I'll<font color="#CCCCCC"> just say data</font>

107
00:05:24,890 --> 00:05:32,190
file<font color="#E5E5E5"> these are going</font><font color="#CCCCCC"> to be my results</font>

108
00:05:27,960 --> 00:05:37,620
that's going to be equal<font color="#CCCCCC"> to PD and then</font>

109
00:05:32,190 --> 00:05:42,330
I'll do dot read CSV<font color="#CCCCCC"> and I'll do my data</font>

110
00:05:37,620 --> 00:05:47,670
<font color="#CCCCCC">with headers dot CSV</font><font color="#E5E5E5"> okay I could also</font>

111
00:05:42,330 --> 00:05:51,719
do read<font color="#CCCCCC"> excel here and then do data with</font>

112
00:05:47,670 --> 00:05:54,870
headers<font color="#CCCCCC"> Excel SX okay so that is</font><font color="#E5E5E5"> the</font>

113
00:05:51,720 --> 00:05:59,550
excel file<font color="#CCCCCC"> but let</font><font color="#E5E5E5"> me go ahead</font><font color="#CCCCCC"> and just</font>

114
00:05:54,870 --> 00:06:03,600
do<font color="#CCCCCC"> it with the</font><font color="#E5E5E5"> CSV for now okay so I'm</font>

115
00:05:59,550 --> 00:06:05,880
going<font color="#CCCCCC"> to go ahead and import that</font><font color="#E5E5E5"> okay</font>

116
00:06:03,600 --> 00:06:10,560
<font color="#E5E5E5">and then I'll go ahead and insert a cell</font>

117
00:06:05,880 --> 00:06:14,300
below<font color="#E5E5E5"> okay so now I've got my data file</font>

118
00:06:10,560 --> 00:06:16,920
<font color="#E5E5E5">and let me just</font><font color="#CCCCCC"> go ahead and you know</font>

119
00:06:14,300 --> 00:06:19,860
we're<font color="#E5E5E5"> going to print a little bit of</font>

120
00:06:16,920 --> 00:06:22,500
<font color="#E5E5E5">this data file just</font><font color="#CCCCCC"> so we can see what's</font>

121
00:06:19,860 --> 00:06:25,860
going<font color="#CCCCCC"> on with this okay so I have print</font>

122
00:06:22,500 --> 00:06:31,980
data file and let's say I just<font color="#E5E5E5"> want to</font>

123
00:06:25,860 --> 00:06:33,310
print the first just<font color="#E5E5E5"> the first few rows</font>

124
00:06:31,980 --> 00:06:37,000
of that

125
00:06:33,310 --> 00:06:39,220
<font color="#E5E5E5">okay so I'm going to go from zero to</font>

126
00:06:37,000 --> 00:06:41,860
<font color="#CCCCCC">three that's</font><font color="#E5E5E5"> going to be zero one and</font>

127
00:06:39,220 --> 00:06:44,650
two<font color="#CCCCCC"> and then let's just</font><font color="#E5E5E5"> go and take a</font>

128
00:06:41,860 --> 00:06:49,000
look at what it imported<font color="#E5E5E5"> okay so I have</font>

129
00:06:44,650 --> 00:06:51,609
my time<font color="#E5E5E5"> column my s1 s2</font><font color="#CCCCCC"> s3 all the way</font>

130
00:06:49,000 --> 00:06:54,580
to<font color="#E5E5E5"> s8 you can see the</font><font color="#CCCCCC"> not on numbers</font>

131
00:06:51,610 --> 00:06:56,889
there<font color="#CCCCCC"> for some</font><font color="#E5E5E5"> of those okay now I want</font>

132
00:06:54,580 --> 00:06:58,930
<font color="#CCCCCC">to parse this out maybe</font><font color="#E5E5E5"> make it a little</font>

133
00:06:56,889 --> 00:07:01,330
<font color="#CCCCCC">bit easier for me to work with it</font>

134
00:06:58,930 --> 00:07:05,530
<font color="#E5E5E5">I want to exclude the sensors that were</font>

135
00:07:01,330 --> 00:07:09,280
bad<font color="#CCCCCC"> for example okay so</font><font color="#E5E5E5"> let me go</font><font color="#CCCCCC"> ahead</font>

136
00:07:05,530 --> 00:07:11,919
and<font color="#E5E5E5"> just grab time first of all I'll say</font>

137
00:07:09,280 --> 00:07:13,989
that is<font color="#E5E5E5"> a data file you</font><font color="#CCCCCC"> know from my</font>

138
00:07:11,919 --> 00:07:17,620
data file<font color="#E5E5E5"> and then I can</font><font color="#CCCCCC"> use the square</font>

139
00:07:13,990 --> 00:07:20,140
brackets<font color="#E5E5E5"> and just reference it by the</font>

140
00:07:17,620 --> 00:07:26,530
column name from the header<font color="#CCCCCC"> okay and so</font>

141
00:07:20,140 --> 00:07:30,880
that<font color="#CCCCCC"> will give me time and let's do</font>

142
00:07:26,530 --> 00:07:34,450
another one<font color="#CCCCCC"> now</font><font color="#E5E5E5"> which is good parse out</font>

143
00:07:30,880 --> 00:07:41,350
<font color="#E5E5E5">the sensors that</font><font color="#CCCCCC"> are good</font><font color="#E5E5E5"> okay so do</font>

144
00:07:34,450 --> 00:07:45,310
sensors<font color="#E5E5E5"> equals and then data file okay</font>

145
00:07:41,350 --> 00:07:48,490
<font color="#E5E5E5">and I'm going</font><font color="#CCCCCC"> to use the i-x and that</font><font color="#E5E5E5"> is</font>

146
00:07:45,310 --> 00:07:50,410
going<font color="#E5E5E5"> to do go from all say all the rows</font>

147
00:07:48,490 --> 00:07:56,919
and then<font color="#E5E5E5"> I'll say what columns I want</font>

148
00:07:50,410 --> 00:07:58,300
<font color="#CCCCCC">and I'll go from s1 to</font><font color="#E5E5E5"> s4 okay and then</font>

149
00:07:56,919 --> 00:07:59,919
let<font color="#E5E5E5"> me go ahead</font><font color="#CCCCCC"> and just print it just</font>

150
00:07:58,300 --> 00:08:04,479
so I<font color="#CCCCCC"> can see what this</font><font color="#E5E5E5"> looks like</font>

151
00:07:59,919 --> 00:08:10,299
I'll go<font color="#CCCCCC"> ahead and print</font><font color="#E5E5E5"> sensors and I'll</font>

152
00:08:04,479 --> 00:08:13,590
go<font color="#E5E5E5"> just the first six rows of that okay</font>

153
00:08:10,300 --> 00:08:18,000
so it's going<font color="#E5E5E5"> to be sensor</font><font color="#CCCCCC"> zero</font><font color="#E5E5E5"> to</font><font color="#CCCCCC"> six</font>

154
00:08:13,590 --> 00:08:20,590
<font color="#E5E5E5">okay so I can see some of</font><font color="#CCCCCC"> my sensors</font>

155
00:08:18,000 --> 00:08:22,690
<font color="#CCCCCC">that I just pronounced I I have new</font>

156
00:08:20,590 --> 00:08:25,060
variable called<font color="#E5E5E5"> sensors</font>

157
00:08:22,690 --> 00:08:28,690
that's this table of just the sensor

158
00:08:25,060 --> 00:08:31,270
values<font color="#E5E5E5"> and now what I want to do is I</font>

159
00:08:28,690 --> 00:08:32,890
<font color="#E5E5E5">notice time does not start at zero maybe</font>

160
00:08:31,270 --> 00:08:35,890
for<font color="#E5E5E5"> the purposes of plotting let me go</font>

161
00:08:32,890 --> 00:08:40,569
ahead<font color="#E5E5E5"> and just subtract off this very</font>

162
00:08:35,890 --> 00:08:43,169
first time value right here<font color="#E5E5E5"> from all of</font>

163
00:08:40,570 --> 00:08:46,800
the time

164
00:08:43,169 --> 00:08:49,589
<font color="#CCCCCC">a vector from all the time vectors</font><font color="#E5E5E5"> okay</font>

165
00:08:46,800 --> 00:08:56,550
<font color="#E5E5E5">so actually let me come down</font><font color="#CCCCCC"> here and</font>

166
00:08:49,589 --> 00:09:04,070
insert okay<font color="#E5E5E5"> so I'll go</font><font color="#CCCCCC"> ahead and</font><font color="#E5E5E5"> delete</font>

167
00:08:56,550 --> 00:09:08,040
that<font color="#E5E5E5"> one and oh there it is</font><font color="#CCCCCC"> the delete</font>

168
00:09:04,070 --> 00:09:10,110
okay<font color="#E5E5E5"> so now what</font><font color="#CCCCCC"> I'm going to do is go</font>

169
00:09:08,040 --> 00:09:14,339
ahead<font color="#CCCCCC"> and</font><font color="#E5E5E5"> just subtract off just that</font>

170
00:09:10,110 --> 00:09:19,350
very first time<font color="#E5E5E5"> okay so it's going to be</font>

171
00:09:14,339 --> 00:09:21,779
equal time equals time - and then we're

172
00:09:19,350 --> 00:09:26,100
<font color="#E5E5E5">going to do time and just the very first</font>

173
00:09:21,779 --> 00:09:31,910
value<font color="#E5E5E5"> in that okay and then let's go to</font>

174
00:09:26,100 --> 00:09:35,670
print time<font color="#E5E5E5"> and we'll go zero to three</font>

175
00:09:31,910 --> 00:09:37,920
okay<font color="#E5E5E5"> and okay so there are my times</font>

176
00:09:35,670 --> 00:09:40,740
right there's<font color="#CCCCCC"> start zero and then goes</font>

177
00:09:37,920 --> 00:09:42,329
to<font color="#CCCCCC"> about one and then</font><font color="#E5E5E5"> three</font><font color="#CCCCCC"> so I don't</font>

178
00:09:40,740 --> 00:09:45,360
start<font color="#E5E5E5"> with some large value</font><font color="#CCCCCC"> of</font>

179
00:09:42,329 --> 00:09:49,739
subtracted off the initial<font color="#E5E5E5"> starting</font>

180
00:09:45,360 --> 00:09:52,380
<font color="#E5E5E5">value on that okay</font><font color="#CCCCCC"> okay so let's go to</font>

181
00:09:49,740 --> 00:09:56,040
the<font color="#E5E5E5"> next line here and let's go and take</font>

182
00:09:52,380 --> 00:09:59,790
<font color="#E5E5E5">our average of these so I want maybe I</font>

183
00:09:56,040 --> 00:10:01,230
have three temperature sensors<font color="#CCCCCC"> at</font>

184
00:09:59,790 --> 00:10:03,209
<font color="#E5E5E5">different points in a reactor for</font>

185
00:10:01,230 --> 00:10:06,959
<font color="#CCCCCC">example</font><font color="#E5E5E5"> I just want to take an average</font>

186
00:10:03,209 --> 00:10:11,160
of those at each time<font color="#E5E5E5"> okay so I could do</font>

187
00:10:06,959 --> 00:10:15,000
that<font color="#E5E5E5"> if I do average and this will be</font>

188
00:10:11,160 --> 00:10:18,300
the average<font color="#E5E5E5"> of the row okay</font>

189
00:10:15,000 --> 00:10:20,820
and that's<font color="#E5E5E5"> going to be numpy and</font><font color="#CCCCCC"> I'm</font>

190
00:10:18,300 --> 00:10:23,099
going<font color="#E5E5E5"> to use the mean and then I'm going</font>

191
00:10:20,820 --> 00:10:26,819
to<font color="#E5E5E5"> take the</font><font color="#CCCCCC"> average of</font><font color="#E5E5E5"> my sensors and</font>

192
00:10:23,100 --> 00:10:30,660
then<font color="#E5E5E5"> the next the next argument</font><font color="#CCCCCC"> for this</font>

193
00:10:26,819 --> 00:10:33,149
is over what index do I want to do this

194
00:10:30,660 --> 00:10:35,699
so if I do one that's going<font color="#E5E5E5"> to be over</font>

195
00:10:33,149 --> 00:10:41,310
the column so<font color="#E5E5E5"> it'll take the average of</font>

196
00:10:35,699 --> 00:10:44,790
the rows if I do average<font color="#E5E5E5"> with the zero</font>

197
00:10:41,310 --> 00:10:48,959
there instead<font color="#CCCCCC"> of</font><font color="#E5E5E5"> the one then it'll take</font>

198
00:10:44,790 --> 00:10:50,670
the average of all<font color="#CCCCCC"> of each column along</font>

199
00:10:48,959 --> 00:10:55,300
the way okay<font color="#CCCCCC"> so let me</font><font color="#E5E5E5"> go ahead and just</font>

200
00:10:50,670 --> 00:10:57,010
print and I'll do average

201
00:10:55,300 --> 00:11:01,270
I'll just<font color="#E5E5E5"> print the first couple rows of</font>

202
00:10:57,010 --> 00:11:05,910
that average row and I'll go one two

203
00:11:01,270 --> 00:11:09,430
three<font color="#CCCCCC"> okay and then I'll also print</font>

204
00:11:05,910 --> 00:11:12,160
average on my column<font color="#E5E5E5"> and I don't</font><font color="#CCCCCC"> think I</font>

205
00:11:09,430 --> 00:11:17,709
need<font color="#CCCCCC"> to connect</font><font color="#E5E5E5"> that I'll just be</font><font color="#CCCCCC"> for</font>

206
00:11:12,160 --> 00:11:23,319
<font color="#E5E5E5">different values okay so there is I had</font>

207
00:11:17,710 --> 00:11:25,840
for my average for<font color="#CCCCCC"> s1 is 380 to s2 s3 s4</font>

208
00:11:23,320 --> 00:11:29,170
<font color="#E5E5E5">so that's the column average and this is</font>

209
00:11:25,840 --> 00:11:30,520
the row average that<font color="#CCCCCC"> I just printed</font><font color="#E5E5E5"> out</font>

210
00:11:29,170 --> 00:11:33,219
<font color="#E5E5E5">okay so I'm more interested in the</font>

211
00:11:30,520 --> 00:11:38,199
average<font color="#E5E5E5"> row instead of the average</font>

212
00:11:33,220 --> 00:11:41,470
<font color="#E5E5E5">column just for this example okay let me</font>

213
00:11:38,200 --> 00:11:43,090
go ahead<font color="#CCCCCC"> and insert</font><font color="#E5E5E5"> another one</font><font color="#CCCCCC"> okay so</font>

214
00:11:41,470 --> 00:11:45,250
now what I want<font color="#CCCCCC"> to do is now I want to</font>

215
00:11:43,090 --> 00:11:48,850
put<font color="#E5E5E5"> all of this information back</font>

216
00:11:45,250 --> 00:11:52,210
together again<font color="#CCCCCC"> like I showed here</font><font color="#E5E5E5"> where</font>

217
00:11:48,850 --> 00:11:54,250
you have you<font color="#CCCCCC"> know this this average is</font>

218
00:11:52,210 --> 00:11:56,320
on the right now I've cleaned up I've

219
00:11:54,250 --> 00:11:58,330
removed some of<font color="#E5E5E5"> the not a number values</font>

220
00:11:56,320 --> 00:12:02,170
I just want to put this back and then

221
00:11:58,330 --> 00:12:05,740
export it again<font color="#E5E5E5"> okay so the way to do</font>

222
00:12:02,170 --> 00:12:09,219
that is just<font color="#E5E5E5"> go and create something</font>

223
00:12:05,740 --> 00:12:11,470
like my data<font color="#E5E5E5"> and then I'm going</font><font color="#CCCCCC"> to</font>

224
00:12:09,220 --> 00:12:14,230
<font color="#E5E5E5">create a new array just with the</font>

225
00:12:11,470 --> 00:12:17,230
different<font color="#E5E5E5"> values that</font><font color="#CCCCCC"> I want to put</font><font color="#E5E5E5"> into</font>

226
00:12:14,230 --> 00:12:23,740
<font color="#CCCCCC">my</font><font color="#E5E5E5"> final data file okay so I've got</font>

227
00:12:17,230 --> 00:12:25,240
average row<font color="#E5E5E5"> sensors and time okay and</font>

228
00:12:23,740 --> 00:12:27,670
then what I'm going<font color="#CCCCCC"> to do is I'm going</font>

229
00:12:25,240 --> 00:12:31,510
<font color="#CCCCCC">to concatenate these I'm going</font><font color="#E5E5E5"> to put</font>

230
00:12:27,670 --> 00:12:35,469
<font color="#CCCCCC">them</font><font color="#E5E5E5"> together</font><font color="#CCCCCC"> so result equals and then</font>

231
00:12:31,510 --> 00:12:37,900
I'll do PD dot<font color="#E5E5E5"> kind of cat</font><font color="#CCCCCC"> and that will</font>

232
00:12:35,470 --> 00:12:41,830
put<font color="#E5E5E5"> them together and I'll</font><font color="#CCCCCC"> do my data</font>

233
00:12:37,900 --> 00:12:45,340
<font color="#CCCCCC">and I want to do it along the second</font>

234
00:12:41,830 --> 00:12:48,280
axis or<font color="#E5E5E5"> axis equals 1 which will be take</font>

235
00:12:45,340 --> 00:12:52,960
these columns column data and just<font color="#E5E5E5"> put</font>

236
00:12:48,280 --> 00:12:56,800
them left<font color="#E5E5E5"> to right</font><font color="#CCCCCC"> okay if I did if I</font>

237
00:12:52,960 --> 00:12:58,240
<font color="#CCCCCC">did 0 then be like</font><font color="#E5E5E5"> stacking rows on top</font>

238
00:12:56,800 --> 00:13:01,620
of each other<font color="#CCCCCC"> but these are stacking</font>

239
00:12:58,240 --> 00:13:03,970
columns next<font color="#CCCCCC"> to each other</font><font color="#E5E5E5"> okay and</font><font color="#CCCCCC"> then</font>

240
00:13:01,620 --> 00:13:05,499
when I do that let me<font color="#E5E5E5"> go ahead and just</font>

241
00:13:03,970 --> 00:13:08,599
print

242
00:13:05,499 --> 00:13:13,819
<font color="#E5E5E5">result and I'll just print the first</font>

243
00:13:08,599 --> 00:13:17,479
<font color="#E5E5E5">couple of rows on that okay</font><font color="#CCCCCC"> and then you</font>

244
00:13:13,819 --> 00:13:19,218
can see I have my time s1 through s4 and

245
00:13:17,479 --> 00:13:22,129
then my average which I<font color="#E5E5E5"> haven't given it</font>

246
00:13:19,219 --> 00:13:26,779
a name<font color="#E5E5E5"> for that column it was just a</font>

247
00:13:22,129 --> 00:13:29,779
numpy array<font color="#CCCCCC"> okay now the next thing that</font>

248
00:13:26,779 --> 00:13:31,219
<font color="#E5E5E5">I'll do is go ahead</font><font color="#CCCCCC"> and</font><font color="#E5E5E5"> just save it as</font>

249
00:13:29,779 --> 00:13:34,729
something<font color="#CCCCCC"> so now that I have</font><font color="#E5E5E5"> my data</font>

250
00:13:31,219 --> 00:13:39,949
<font color="#E5E5E5">file that</font><font color="#CCCCCC"> I want to export I can do</font>

251
00:13:34,729 --> 00:13:42,019
result and then dot<font color="#CCCCCC"> two for example CSV</font>

252
00:13:39,949 --> 00:13:46,699
file<font color="#CCCCCC"> okay so like where it came from</font>

253
00:13:42,019 --> 00:13:51,889
<font color="#CCCCCC">I'll just do result</font><font color="#E5E5E5"> dot CSV</font><font color="#CCCCCC"> I can also</font>

254
00:13:46,699 --> 00:13:56,389
do something<font color="#CCCCCC"> like instead</font><font color="#E5E5E5"> of to CSV I</font>

255
00:13:51,889 --> 00:14:00,679
can export it to an excel file<font color="#E5E5E5"> okay so</font>

256
00:13:56,389 --> 00:14:05,269
that's<font color="#CCCCCC"> x LS X okay so</font><font color="#E5E5E5"> I can export it to</font>

257
00:14:00,679 --> 00:14:10,069
excel<font color="#E5E5E5"> I can also do it to an HTML file</font>

258
00:14:05,269 --> 00:14:13,809
as I just wanted a table<font color="#E5E5E5"> that's exported</font>

259
00:14:10,069 --> 00:14:18,139
to<font color="#E5E5E5"> a web</font><font color="#CCCCCC"> page</font><font color="#E5E5E5"> okay so there's HTML</font>

260
00:14:13,809 --> 00:14:22,129
actually I need<font color="#CCCCCC"> to do HTM L even though</font>

261
00:14:18,139 --> 00:14:24,769
my extension can be HTM or HTML<font color="#CCCCCC"> and then</font>

262
00:14:22,129 --> 00:14:27,619
I'm also going<font color="#CCCCCC"> to export to the</font>

263
00:14:24,769 --> 00:14:30,559
clipboard<font color="#CCCCCC"> as well so when</font><font color="#E5E5E5"> I run this</font>

264
00:14:27,619 --> 00:14:32,779
it's<font color="#E5E5E5"> going to I don't have to give this</font>

265
00:14:30,559 --> 00:14:35,179
a file name<font color="#E5E5E5"> what I'll do is we'll just</font>

266
00:14:32,779 --> 00:14:40,189
put it out to<font color="#E5E5E5"> the clipboard and</font><font color="#CCCCCC"> then I</font>

267
00:14:35,179 --> 00:14:42,019
can do the ctrl V to paste it somewhere

268
00:14:40,189 --> 00:14:44,059
<font color="#E5E5E5">I can paste it in like</font><font color="#CCCCCC"> - like a word</font>

269
00:14:42,019 --> 00:14:45,859
<font color="#CCCCCC">document or</font><font color="#E5E5E5"> something like that you'll</font>

270
00:14:44,059 --> 00:14:48,488
just put this data table<font color="#E5E5E5"> out to a</font>

271
00:14:45,859 --> 00:14:54,379
clipboard<font color="#CCCCCC"> okay so let me</font><font color="#E5E5E5"> go ahead and</font>

272
00:14:48,489 --> 00:14:59,779
<font color="#E5E5E5">save</font><font color="#CCCCCC"> go</font><font color="#E5E5E5"> and save this and then</font><font color="#CCCCCC"> let's go</font>

273
00:14:54,379 --> 00:15:01,939
and<font color="#E5E5E5"> run this last line right here okay</font>

274
00:14:59,779 --> 00:15:04,489
and<font color="#CCCCCC"> then it's going to</font><font color="#E5E5E5"> export it let me</font>

275
00:15:01,939 --> 00:15:06,919
<font color="#E5E5E5">go back into</font><font color="#CCCCCC"> that folder so I</font><font color="#E5E5E5"> can see a</font>

276
00:15:04,489 --> 00:15:09,139
couple<font color="#CCCCCC"> of</font><font color="#E5E5E5"> these results right here</font><font color="#CCCCCC"> if I</font>

277
00:15:06,919 --> 00:15:12,589
open up the excel file that<font color="#E5E5E5"> I just</font>

278
00:15:09,139 --> 00:15:14,569
created I can<font color="#E5E5E5"> see all</font><font color="#CCCCCC"> of</font><font color="#E5E5E5"> my data</font><font color="#CCCCCC"> with</font>

279
00:15:12,589 --> 00:15:16,819
the<font color="#CCCCCC"> times the sensors and then the</font>

280
00:15:14,569 --> 00:15:23,269
<font color="#CCCCCC">average value I</font><font color="#E5E5E5"> can</font><font color="#CCCCCC"> oh</font>

281
00:15:16,819 --> 00:15:26,868
up a you know this is in HTML<font color="#CCCCCC"> okay so</font>

282
00:15:23,269 --> 00:15:29,239
there it<font color="#E5E5E5"> is</font><font color="#CCCCCC"> a</font><font color="#E5E5E5"> web page and then</font><font color="#CCCCCC"> here is</font>

283
00:15:26,869 --> 00:15:35,149
my CSV<font color="#E5E5E5"> file this</font><font color="#CCCCCC"> is just a text</font><font color="#E5E5E5"> file</font>

284
00:15:29,239 --> 00:15:38,720
that's<font color="#E5E5E5"> comma delimited and okay so I</font>

285
00:15:35,149 --> 00:15:43,699
have all of<font color="#E5E5E5"> my data here in this CSV</font>

286
00:15:38,720 --> 00:15:45,559
file<font color="#E5E5E5"> okay and then</font><font color="#CCCCCC"> alright and then I'm</font>

287
00:15:43,699 --> 00:15:48,019
<font color="#E5E5E5">going to show you clipboard as well so</font>

288
00:15:45,559 --> 00:15:52,368
let's say I wanted to<font color="#CCCCCC"> open up word for</font>

289
00:15:48,019 --> 00:15:54,079
<font color="#CCCCCC">example</font><font color="#E5E5E5"> and then I can open up a</font><font color="#CCCCCC"> blank</font>

290
00:15:52,369 --> 00:15:56,419
document it's on the<font color="#E5E5E5"> clipboard right now</font>

291
00:15:54,079 --> 00:16:00,559
so if I<font color="#E5E5E5"> hit control V then it's just</font>

292
00:15:56,419 --> 00:16:03,829
<font color="#E5E5E5">going to paste all</font><font color="#CCCCCC"> the values in okay so</font>

293
00:16:00,559 --> 00:16:09,219
there it was<font color="#E5E5E5"> in clipboard</font><font color="#CCCCCC"> okay so just a</font>

294
00:16:03,829 --> 00:16:16,549
variety<font color="#CCCCCC"> of</font><font color="#E5E5E5"> different</font><font color="#CCCCCC"> ways to</font><font color="#E5E5E5"> export this</font>

295
00:16:09,220 --> 00:16:20,629
<font color="#CCCCCC">now let's say we also</font><font color="#E5E5E5"> want to maybe plot</font>

296
00:16:16,549 --> 00:16:24,409
some of these<font color="#E5E5E5"> results as well so just in</font>

297
00:16:20,629 --> 00:16:28,959
order<font color="#E5E5E5"> to use matplotlib</font><font color="#CCCCCC"> and be able</font><font color="#E5E5E5"> to</font>

298
00:16:24,409 --> 00:16:32,359
show the values<font color="#E5E5E5"> here I'm going</font><font color="#CCCCCC"> to do the</font>

299
00:16:28,959 --> 00:16:35,599
<font color="#E5E5E5">percent</font><font color="#CCCCCC"> net plot live in line</font><font color="#E5E5E5"> first of</font>

300
00:16:32,359 --> 00:16:43,549
<font color="#E5E5E5">all before I import okay and then I'll</font>

301
00:16:35,600 --> 00:16:48,519
do import<font color="#CCCCCC"> mat plot lib</font><font color="#E5E5E5"> pie plot as PLT</font>

302
00:16:43,549 --> 00:16:53,720
<font color="#CCCCCC">and then let's go ahead</font><font color="#E5E5E5"> and go</font><font color="#CCCCCC"> and</font>

303
00:16:48,519 --> 00:16:55,759
<font color="#E5E5E5">evaluate that</font><font color="#CCCCCC"> and then</font><font color="#E5E5E5"> I insert one more</font>

304
00:16:53,720 --> 00:17:00,199
<font color="#E5E5E5">cell below so now I've got</font>

305
00:16:55,759 --> 00:17:04,339
PLT<font color="#E5E5E5"> and I'll just go</font><font color="#CCCCCC"> ahead and create</font><font color="#E5E5E5"> a</font>

306
00:17:00,199 --> 00:17:07,459
<font color="#E5E5E5">new figure and then let</font><font color="#CCCCCC"> me go ahead and</font>

307
00:17:04,339 --> 00:17:12,490
<font color="#E5E5E5">just plot some of these data points</font><font color="#CCCCCC"> I</font>

308
00:17:07,459 --> 00:17:17,899
have time and then I'll plot<font color="#CCCCCC"> sensors</font>

309
00:17:12,490 --> 00:17:24,230
<font color="#CCCCCC">let's just plot s1 and then plot that as</font>

310
00:17:17,898 --> 00:17:27,559
a red<font color="#CCCCCC"> line okay and then let</font><font color="#E5E5E5"> me add</font>

311
00:17:24,230 --> 00:17:28,770
another<font color="#E5E5E5"> one on here</font><font color="#CCCCCC"> as well I'll plot</font>

312
00:17:27,559 --> 00:17:33,149
time

313
00:17:28,770 --> 00:17:38,129
and the average<font color="#E5E5E5"> rose let's see what I</font>

314
00:17:33,150 --> 00:17:40,320
knew the average row okay<font color="#CCCCCC"> so for every</font>

315
00:17:38,130 --> 00:17:43,170
point on<font color="#E5E5E5"> that plot just one sensor</font><font color="#CCCCCC"> -</font>

316
00:17:40,320 --> 00:17:46,850
<font color="#E5E5E5">then the average</font><font color="#CCCCCC"> of all four sensors as</font>

317
00:17:43,170 --> 00:17:50,750
well<font color="#CCCCCC"> and I'll do</font><font color="#E5E5E5"> that as a blue dotted</font>

318
00:17:46,850 --> 00:17:57,840
trend<font color="#E5E5E5"> and then let me go and add a</font>

319
00:17:50,750 --> 00:18:02,340
legend to that and<font color="#E5E5E5"> that will be to say</font>

320
00:17:57,840 --> 00:18:08,730
that<font color="#CCCCCC"> is going to be sensor</font><font color="#E5E5E5"> one and then</font>

321
00:18:02,340 --> 00:18:11,010
this one<font color="#CCCCCC"> will be the average</font><font color="#E5E5E5"> okay</font><font color="#CCCCCC"> so</font>

322
00:18:08,730 --> 00:18:14,310
there I've got<font color="#E5E5E5"> a legend for my plot and</font>

323
00:18:11,010 --> 00:18:17,250
we'll do an X<font color="#E5E5E5"> label and a y label as</font>

324
00:18:14,310 --> 00:18:23,370
well<font color="#CCCCCC"> so this</font><font color="#E5E5E5"> will be time maybe in</font>

325
00:18:17,250 --> 00:18:27,620
seconds and okay<font color="#CCCCCC"> 1y label and then we're</font>

326
00:18:23,370 --> 00:18:32,760
almost done here<font color="#CCCCCC"> so that'll</font><font color="#E5E5E5"> be sensor</font>

327
00:18:27,620 --> 00:18:36,959
values okay<font color="#CCCCCC"> and then let's</font><font color="#E5E5E5"> also just</font>

328
00:18:32,760 --> 00:18:39,060
save this so I can view it<font color="#E5E5E5"> here but I</font>

329
00:18:36,960 --> 00:18:43,920
also<font color="#E5E5E5"> maybe just want to save it as a PNG</font>

330
00:18:39,060 --> 00:18:46,050
file<font color="#E5E5E5"> let's all good export my like this</font>

331
00:18:43,920 --> 00:18:50,220
plot that<font color="#CCCCCC"> I'm creating and I'll do that</font>

332
00:18:46,050 --> 00:18:51,600
<font color="#E5E5E5">with the save</font><font color="#CCCCCC"> fig and I'll</font><font color="#E5E5E5"> just say</font><font color="#CCCCCC"> my</font>

333
00:18:50,220 --> 00:18:56,820
plot dot PNG

334
00:18:51,600 --> 00:18:59,310
<font color="#E5E5E5">okay and I I think I am done now okay so</font>

335
00:18:56,820 --> 00:19:02,149
let me go<font color="#CCCCCC"> ahead and just execute this I</font>

336
00:18:59,310 --> 00:19:05,340
can see the sensor<font color="#CCCCCC"> one the average</font>

337
00:19:02,150 --> 00:19:08,510
<font color="#E5E5E5">values for that</font><font color="#CCCCCC"> and then let</font><font color="#E5E5E5"> me go back</font>

338
00:19:05,340 --> 00:19:14,699
<font color="#CCCCCC">into my directory where I'm working and</font>

339
00:19:08,510 --> 00:19:16,620
it has my plot dot PNG<font color="#E5E5E5"> so here it is you</font>

340
00:19:14,700 --> 00:19:20,730
<font color="#E5E5E5">know in PNG format</font><font color="#CCCCCC"> you can</font><font color="#E5E5E5"> import that</font>

341
00:19:16,620 --> 00:19:24,719
for example into a<font color="#E5E5E5"> PowerPoint or other</font>

342
00:19:20,730 --> 00:19:28,080
<font color="#E5E5E5">presentation format okay so I think</font>

343
00:19:24,720 --> 00:19:32,100
we're done<font color="#E5E5E5"> with this script now let me</font>

344
00:19:28,080 --> 00:19:34,879
just<font color="#CCCCCC"> go back here to the</font><font color="#E5E5E5"> okay so just to</font>

345
00:19:32,100 --> 00:19:39,990
<font color="#CCCCCC">review what we did is we just imported</font>

346
00:19:34,880 --> 00:19:42,230
<font color="#E5E5E5">numpy and pandas we on input two we just</font>

347
00:19:39,990 --> 00:19:44,750
<font color="#E5E5E5">read the CSV file</font>

348
00:19:42,230 --> 00:19:47,840
just displayed<font color="#E5E5E5"> some of the data the raw</font>

349
00:19:44,750 --> 00:19:51,440
data<font color="#CCCCCC"> just the</font><font color="#E5E5E5"> first three rows assign</font>

350
00:19:47,840 --> 00:19:53,659
this<font color="#CCCCCC"> as time then just parse this we</font>

351
00:19:51,440 --> 00:19:56,660
sliced some of the data<font color="#E5E5E5"> just took</font>

352
00:19:53,660 --> 00:20:00,350
sensors one through sensors<font color="#CCCCCC"> four</font><font color="#E5E5E5"> and</font>

353
00:19:56,660 --> 00:20:01,670
then<font color="#E5E5E5"> you reinitialize our time to start</font>

354
00:20:00,350 --> 00:20:05,060
at zero

355
00:20:01,670 --> 00:20:08,300
we took some averages here<font color="#E5E5E5"> on the row</font><font color="#CCCCCC"> or</font>

356
00:20:05,060 --> 00:20:10,040
column based averages<font color="#E5E5E5"> and then put the</font>

357
00:20:08,300 --> 00:20:13,730
data<font color="#E5E5E5"> back together again</font>

358
00:20:10,040 --> 00:20:17,000
with the row averages and then exported

359
00:20:13,730 --> 00:20:19,610
it<font color="#CCCCCC"> to a CSV file to</font><font color="#E5E5E5"> excel HTML and</font>

360
00:20:17,000 --> 00:20:23,090
clipboard<font color="#E5E5E5"> and then we as a final result</font>

361
00:20:19,610 --> 00:20:25,879
we<font color="#CCCCCC"> just plotted some of our data ok so</font>

362
00:20:23,090 --> 00:20:28,610
that concludes<font color="#E5E5E5"> this tutorial video</font><font color="#CCCCCC"> if</font>

363
00:20:25,880 --> 00:20:30,410
you're<font color="#CCCCCC"> having a hard time</font><font color="#E5E5E5"> with you know</font>

364
00:20:28,610 --> 00:20:34,100
some of these with pandas you know don't

365
00:20:30,410 --> 00:20:36,620
or num num pie<font color="#CCCCCC"> you know it just</font><font color="#E5E5E5"> takes a</font>

366
00:20:34,100 --> 00:20:38,870
<font color="#E5E5E5">little bit of practice</font><font color="#CCCCCC"> and then</font><font color="#E5E5E5"> it will</font>

367
00:20:36,620 --> 00:20:41,689
be intuitive it'll actually probably<font color="#E5E5E5"> be</font>

368
00:20:38,870 --> 00:20:44,120
faster<font color="#CCCCCC"> than something like</font><font color="#E5E5E5"> Excel if you</font>

369
00:20:41,690 --> 00:20:46,280
learn some of<font color="#E5E5E5"> these commands</font><font color="#CCCCCC"> there's a</font>

370
00:20:44,120 --> 00:20:48,439
lot<font color="#E5E5E5"> of other commands</font><font color="#CCCCCC"> in pandas</font><font color="#E5E5E5"> I've</font>

371
00:20:46,280 --> 00:20:51,620
just kind of given<font color="#CCCCCC"> you a very very</font><font color="#E5E5E5"> basic</font>

372
00:20:48,440 --> 00:20:54,470
introduction it's used<font color="#E5E5E5"> extensively for</font>

373
00:20:51,620 --> 00:20:57,830
example in the financial<font color="#CCCCCC"> analysis sector</font>

374
00:20:54,470 --> 00:21:01,750
or others<font color="#E5E5E5"> but engineers and scientists</font>

375
00:20:57,830 --> 00:21:01,750
also<font color="#E5E5E5"> use it as well</font>


