You've learned how to pull data from a SQLite3 database. Now we'd like to take that data and use it in the module that you created from section 2: earthquake data. How many earthquakes happen in each hour of our data set?
- [Narrator] Working with regular expressions…in our SQLite3 database is no different…than working with a CSV file.…In this video, we will demonstrate how to filter our data…using regular expressions, using the timestamp data,…from a SQLite3 database, in a similar manner…to our last video.…So we're going to be loading the data from a SQLite3 database,…sifting through that data using a regular expression,…and analyzing the data gleaned from that regular expression.…Now the problem that I would like to solve in this video,…is to determine how many earthquakes happen, by hour,…in our seven day database.…
Let's go over to our virtual machine,…and let's create a new Haskell notebook.…I'm going to name this notebook RegexLearning-SQLite3,…and I will be importing our libraries.…I don't plan on using any descriptive statistics…in this video, so there's no need…to load the descriptive statistics module.…There is one import that you see there that…we haven't covered yet, and that's Text.Printf,…there's one little problem which I hope to solve…
Author
Released
7/7/2017Note: This course was created by Packt Publishing. We are pleased to host this training in our library.
- Data ranges, means, and medians
- Standard deviation
- SQLite3 command line
- Slices of data
- Regular expressions
- Atoms and modifiers
- Character classes
- Line plots of a single variable
- Plotting a moving average
- Feature scaling
- Scatter plots
- Normal distribution
- Kernel density estimation (KDE)
- Visualizations
Skill Level Intermediate
Duration
Views
Related Courses
-
NumPy Data Science Essential Training
with Charles Kelly3h 54m Intermediate -
Python: Data Analysis
with Michele Vallisneri2h 16m Intermediate -
SQL: Data Reporting and Analysis
with Emma Saunders2h 16m Intermediate -
Hadoop: Data Analysis
with Jack Dintruff41m 54s Intermediate
-
1. Descriptive Statistics
-
Course overview2m 37s
-
CSV files11m 32s
-
Data range5m 2s
-
Data median5m 43s
-
Data mode6m 2s
-
-
2. SQLite3
-
SQLite3 command line9m 25s
-
Slices of data6m 56s
-
-
3. Regular Expressions
-
Atoms and modifiers7m 29s
-
Character classes7m 40s
-
4. Visualizations
-
Plotting a moving average6m 45s
-
Publication-ready plots7m 22s
-
Feature scaling5m 38s
-
Scatter plots5m 49s
-
5. Kernel Density Estimation
-
What is normal distribution?10m 26s
-
Application of the KDE9m 22s
-
-
6. Course Review
-
CSV variations to SQLite38m 39s
-
Visualizations5m 24s
-
KDE11m 51s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: SQLite3 and regular expressions