April 2024
Beginner to intermediate
500 pages
24h 20m
English
We have real data describing 500 earthquakes that occurred during a month in late 2022. Given the raw data, it might be difficult to see any type of pattern or similarity in this data set. However, if we extend our cluster analysis technique from the previous section, we might discover some interesting results.
Our first problem will be to find a way to process and store the data contained in the data file so that we can use it in our clustering algorithm. Recall that in the earthquakes.csv file, the first line contains column titles that identify each data item, like this:
Each succeeding line of the file describes one earthquake. The line for the first earthquake ...
Read now
Unlock full access