samyakbayar commited on
Commit
bd2c23c
·
verified ·
1 Parent(s): cdaca2f

Upload hurricane-database dataset files

Browse files
Files changed (9) hide show
  1. .gitattributes +1 -0
  2. KAGGLE.md +171 -0
  3. README.md +180 -0
  4. about.md +28 -0
  5. data_dictionary.csv +58 -0
  6. dataset-metadata.json +321 -0
  7. hurricanes.csv +3 -0
  8. kernel-metadata.json +14 -0
  9. notebook.ipynb +225 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ hurricanes.csv filter=lfs diff=lfs merge=lfs -text
KAGGLE.md ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Hurricane Database 1851-2024
2
+
3
+ **Subtitle:** Atlantic and Pacific cyclone tracks with intensity, pressure and wind radii
4
+
5
+ **Tags:** `weather`, `climate`, `time-series`, `tabular`
6
+
7
+ **Dataset File:** `hurricanes.csv` (55,230 rows, 57 columns, 14.3 MB)
8
+
9
+ **Provenance & Source:** NOAA National Hurricane Center HURDAT2 Database
10
+
11
+ **Expected Update Frequency:** `annually`
12
+
13
+ ---
14
+
15
+ ## 📖 Description
16
+
17
+ ### 170 years of Atlantic and eastern Pacific cyclone tracks
18
+
19
+ HURDAT2 is the official best-track archive maintained by the NOAA National Hurricane Center:
20
+ every six hours of every tropical cyclone since 1851, with position, intensity, central pressure
21
+ and (from 2004) the full wind-radius structure.
22
+
23
+ This snapshot has **55,230 waypoints** from **1,991 storms** across **174 seasons
24
+ (1851–2024)** and **57 parameters** per row:
25
+
26
+ - **Track** — storm id, basin, season, storm number and name, timestamp, latitude and longitude,
27
+ landfall/minimum-pressure/maximum-wind record flags.
28
+ - **Intensity** — maximum sustained wind in knots, km/h and mph, central pressure, Saffir-Simpson
29
+ category as label and number, hurricane and major-hurricane flags.
30
+ - **Structure** — the 34, 50 and 64 kt wind radii in all four quadrants (48 radius values across
31
+ the file), radius of maximum wind, and a flag for whether the storm has structure data.
32
+ - **Motion** — bearing, speed and compass direction since the previous waypoint, plus 6-hourly
33
+ wind and pressure tendencies.
34
+ - **Storm summaries** — peak wind, minimum pressure, peak category, duration, active days,
35
+ waypoint count and Accumulated Cyclone Energy, repeated on every row for easy grouping.
36
+ - **Time features** — decade, waypoint index, first/last waypoint flags.
37
+
38
+ 3,345 waypoints (6.1%) are at major-hurricane intensity. Because the file mixes
39
+ 1851 ship reports with satellite-era fixes, it is a natural laboratory for data-quality work as well
40
+ as for climate-trend analysis.
41
+
42
+ ## 🧾 Columns (57)
43
+
44
+ `storm_id`, `basin`, `basin_code`, `storm_number`, `storm_name`, `storm_year`, `record_time_utc`, `iso_date`, `hour_utc`, `record_identifier`, `status`, `status_label`, `latitude`, `longitude`, `max_wind_kt`, `max_wind_kmh`, `max_wind_mph`, `min_pressure_mb`, `category`, `category_num`, `is_hurricane`, `is_major`, `is_named`, `lat_hemisphere`, `lon_hemisphere`, `distance_to_equator_km`, `movement_bearing_deg`, `movement_speed_kmh`, `movement_direction`, `wind_change_kt`, `pressure_change_mb`, `storm_max_wind_kt`, `storm_min_pressure_mb`, `storm_peak_category`, `storm_duration_days`, `storm_record_count`, `storm_active_days`, `storm_ace`, `storm_sequence_in_year`, `decade`, `waypoint_index`, `is_first_point`, `is_last_point`, `radius_34_kt_ne`, `radius_34_kt_se`, `radius_34_kt_sw`, `radius_34_kt_nw`, `radius_50_kt_ne`, `radius_50_kt_se`, `radius_50_kt_sw`, `radius_50_kt_nw`, `radius_64_kt_ne`, `radius_64_kt_se`, `radius_64_kt_sw`, `radius_64_kt_nw`, `max_wind_radius_nm`, `has_wind_radii`
45
+
46
+ ## 💡 Ideas for using this data
47
+
48
+ 1. **Climate trends** — annual ACE, major-hurricane days and peak intensity by decade; how much of the trend is observation quality?
49
+ 2. **Rapid intensification** — find 24-hour wind increases above 30 kt and ask where and when they happen.
50
+ 3. **Track maps** — plot all tracks coloured by category, or density-map genesis points.
51
+ 4. **Landfall climatology** — use `record_identifier == 'L'` to study US Gulf/Atlantic landfalls by decade and state.
52
+ 5. **Size structure** — wind radii are only available post-2004; model storm size from intensity and latitude.
53
+ 6. **Translation speed** — are storms slowing down? Regress `movement_speed_kmh` on year and latitude.
54
+ 7. **Pressure–wind relationship** — fit wind as a function of pressure, basin and latitude; find outliers.
55
+ 8. **Seasonality** — genesis and peak-timing distributions, and how El Niño years shift the eastern Pacific.
56
+ 9. **Forecast benchmark** — use the 6-hourly series as ground truth for simple persistence/trend baselines.
57
+
58
+ ## 📁 Files
59
+
60
+ | File | What it is |
61
+ |---|---|
62
+ | `hurricanes.csv` | 55,230 six-hourly cyclone waypoints x 57 parameters. |
63
+ | `data_dictionary.csv` | Column / type / description for every field. |
64
+ | `notebook.ipynb` | Starter notebook: tracks, categories, ACE by decade. |
65
+ | `dataset-metadata.json` | Kaggle API metadata. |
66
+ | `about.md` | Plain-text About block. |
67
+
68
+ ## 🏷️ Tags
69
+
70
+ `hurricanes`, `weather`, `climate`, `meteorology`, `natural-disasters`, `geospatial`, `time-series`, `noaa`, `environment`, `tabular`
71
+
72
+ ## 🔗 Provenance
73
+
74
+ - **Source:** NOAA National Hurricane Center / Atlantic Oceanographic and Meteorological Laboratory,
75
+ **HURDAT2** best-track database, file `hurdat2-1851-2024-040425.txt`
76
+ (`https://www.nhc.noaa.gov/data/hurdat/`).
77
+ - **Contents:** all North Atlantic (AL) and eastern/central Pacific (EP/CP) tropical cyclones,
78
+ 1851–2024, at 6-hourly resolution.
79
+ - **Parsing:** the fixed HURDAT2 layout was parsed directly: storm headers, then comma-separated
80
+ waypoint records with 21 fields, including the 12 quadrant wind radii and radius of maximum wind.
81
+ - **Derived columns:** unit conversions, Saffir-Simpson category, motion vector, 6-hourly tendencies,
82
+ storm-level aggregates (peak intensity, ACE, duration), decade and sequence flags.
83
+ - **Snapshot date:** 21 November 2026 (2024 season is the latest in this release).
84
+
85
+ ## 🔄 Update frequency
86
+
87
+ **Annual.** NOAA publishes a revised HURDAT2 file after each season (usually spring); re-run `scripts/22_hurricanes.py` to refresh.
88
+
89
+ ## ⚠️ Caveats
90
+
91
+ - Pre-1950 tracks rely on ship observations and are far less complete; intensity before the satellite era is smoothed and often underestimated.
92
+ - Wind radii (34/50/64 kt quadrants) only exist from 2004 onward; `has_wind_radii` marks availability.
93
+ - Pressure is missing (-999 in the source, blank here) for many early or weak systems.
94
+ - ACE uses the 6-hourly maximum wind; 3-hourly special waypoints are not present in HURDAT2.
95
+ - `record_identifier` flags are sparse and occasionally inconsistent with the surrounding track.
96
+ - The file stops at the 2024 season; storms from 2025–2026 are not included in this release.
97
+ - Longitude is signed (west negative), unlike the source's 'W' suffix notation.
98
+
99
+ ## 📜 Licence
100
+
101
+ Public domain — NOAA / National Weather Service. Best-track data is a work of the U.S. Government and free of copyright; attribution is requested.
102
+
103
+ ### 📋 Column Definitions & File Header
104
+
105
+ | # | Column Name | Data Type | Description |
106
+ |---|---|---|---|
107
+ | 1 | `storm_id` | `string` | HURDAT2 storm identifier (basin + number + year, e.g. AL011851). |
108
+ | 2 | `basin` | `string` | Basin name: North Atlantic, Eastern Pacific or Central Pacific. |
109
+ | 3 | `basin_code` | `string` | Two-letter basin code (AL, EP, CP). |
110
+ | 4 | `storm_number` | `number` | Storm number within its season. |
111
+ | 5 | `storm_name` | `string` | Storm name, or UNNAMED for pre-naming-era systems. |
112
+ | 6 | `storm_year` | `number` | Season year. |
113
+ | 7 | `record_time_utc` | `datetime` | Observation timestamp in UTC (ISO). |
114
+ | 8 | `iso_date` | `number` | Date of the observation (YYYYMMDD, as in the source). |
115
+ | 9 | `hour_utc` | `number` | Synoptic hour of the observation (0, 6, 12, 18). |
116
+ | 10 | `record_identifier` | `string` | Landfall (L), minimum pressure (P) or maximum wind (W) marker. |
117
+ | 11 | `status` | `string` | Two-letter status code (HU, TS, TD, EX, SS, SD, LO, ...). |
118
+ | 12 | `status_label` | `string` | Expanded status label. |
119
+ | 13 | `latitude` | `number` | Storm centre latitude in degrees (north positive). |
120
+ | 14 | `longitude` | `number` | Storm centre longitude in degrees (east positive, so western hemisphere is negative). |
121
+ | 15 | `max_wind_kt` | `number` | Maximum sustained wind in knots (1-minute average). |
122
+ | 16 | `max_wind_kmh` | `number` | Maximum sustained wind converted to km/h. |
123
+ | 17 | `max_wind_mph` | `number` | Maximum sustained wind converted to mph. |
124
+ | 18 | `min_pressure_mb` | `number` | Central pressure in millibars. |
125
+ | 19 | `category` | `string` | Saffir-Simpson category label at this point. |
126
+ | 20 | `category_num` | `number` | Saffir-Simpson category as a number (0 for TS, -1 for depression). |
127
+ | 21 | `is_hurricane` | `boolean` | true when sustained wind is at least 64 kt. |
128
+ | 22 | `is_major` | `boolean` | true when sustained wind is at least 96 kt (Category 3+). |
129
+ | 23 | `is_named` | `boolean` | true when the storm has a name rather than UNNAMED. |
130
+ | 24 | `lat_hemisphere` | `string` | N or S. |
131
+ | 25 | `lon_hemisphere` | `string` | E or W. |
132
+ | 26 | `distance_to_equator_km` | `number` | Absolute latitude converted to km. |
133
+ | 27 | `movement_bearing_deg` | `number` | Bearing of motion since the previous waypoint, in degrees. |
134
+ | 28 | `movement_speed_kmh` | `number` | Translation speed since the previous waypoint, in km/h. |
135
+ | 29 | `movement_direction` | `string` | Compass direction of motion (N, NE, E, ...). |
136
+ | 30 | `wind_change_kt` | `number` | Change in maximum wind since the previous waypoint (kt). |
137
+ | 31 | `pressure_change_mb` | `number` | Change in central pressure since the previous waypoint (mb). |
138
+ | 32 | `storm_max_wind_kt` | `number` | Peak sustained wind over the whole storm. |
139
+ | 33 | `storm_min_pressure_mb` | `number` | Lowest central pressure over the whole storm. |
140
+ | 34 | `storm_peak_category` | `string` | Peak Saffir-Simpson category over the whole storm. |
141
+ | 35 | `storm_duration_days` | `number` | Time between the first and last waypoint, in days. |
142
+ | 36 | `storm_record_count` | `number` | Number of 6-hourly waypoints in the storm. |
143
+ | 37 | `storm_active_days` | `number` | Number of distinct calendar dates with a waypoint. |
144
+ | 38 | `storm_ace` | `number` | Accumulated Cyclone Energy in 10^4 kt^2 (sum of squared winds / 10^4). |
145
+ | 39 | `storm_sequence_in_year` | `number` | Storm number within the season. |
146
+ | 40 | `decade` | `number` | Decade of the season year. |
147
+ | 41 | `waypoint_index` | `number` | Position of this waypoint within the storm track (1-based). |
148
+ | 42 | `is_first_point` | `boolean` | true for the first waypoint of the storm. |
149
+ | 43 | `is_last_point` | `boolean` | true for the last waypoint of the storm. |
150
+ | 44 | `radius_34_kt_ne` | `number` | Radius of 34 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
151
+ | 45 | `radius_34_kt_se` | `number` | Radius of 34 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
152
+ | 46 | `radius_34_kt_sw` | `number` | Radius of 34 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
153
+ | 47 | `radius_34_kt_nw` | `number` | Radius of 34 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
154
+ | 48 | `radius_50_kt_ne` | `number` | Radius of 50 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
155
+ | 49 | `radius_50_kt_se` | `number` | Radius of 50 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
156
+ | 50 | `radius_50_kt_sw` | `number` | Radius of 50 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
157
+ | 51 | `radius_50_kt_nw` | `number` | Radius of 50 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
158
+ | 52 | `radius_64_kt_ne` | `number` | Radius of 64 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
159
+ | 53 | `radius_64_kt_se` | `number` | Radius of 64 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
160
+ | 54 | `radius_64_kt_sw` | `number` | Radius of 64 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
161
+ | 55 | `radius_64_kt_nw` | `number` | Radius of 64 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
162
+ | 56 | `max_wind_radius_nm` | `number` | Radius of maximum wind in nautical miles, when reported. |
163
+ | 57 | `has_wind_radii` | `boolean` | true when any quadrant wind radius is reported (post-2004 records). |
164
+
165
+
166
+
167
+ ---
168
+
169
+ ## 🌟 Support & Community
170
+ If you find this dataset valuable for your research, portfolio, or machine learning projects, **please give it an upvote (👍) on Kaggle!**
171
+ Feedback, questions, and notebook submissions are warmly welcomed in the Discussions tab.
README.md ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc0-1.0
3
+ task_categories:
4
+ - tabular
5
+ tags:
6
+ - tabular
7
+ pretty_name: Hurricane Database 1851-2024
8
+ ---
9
+
10
+ # Hurricane Database 1851-2024
11
+
12
+ **Subtitle:** Atlantic and Pacific cyclone tracks with intensity, pressure and wind radii
13
+
14
+ **Tags:** `weather`, `climate`, `time-series`, `tabular`
15
+
16
+ **Dataset File:** `hurricanes.csv` (55,230 rows, 57 columns, 14.3 MB)
17
+
18
+ **Provenance & Source:** NOAA National Hurricane Center HURDAT2 Database
19
+
20
+ **Expected Update Frequency:** `annually`
21
+
22
+ ---
23
+
24
+ ## 📖 Description
25
+
26
+ ### 170 years of Atlantic and eastern Pacific cyclone tracks
27
+
28
+ HURDAT2 is the official best-track archive maintained by the NOAA National Hurricane Center:
29
+ every six hours of every tropical cyclone since 1851, with position, intensity, central pressure
30
+ and (from 2004) the full wind-radius structure.
31
+
32
+ This snapshot has **55,230 waypoints** from **1,991 storms** across **174 seasons
33
+ (1851–2024)** and **57 parameters** per row:
34
+
35
+ - **Track** — storm id, basin, season, storm number and name, timestamp, latitude and longitude,
36
+ landfall/minimum-pressure/maximum-wind record flags.
37
+ - **Intensity** — maximum sustained wind in knots, km/h and mph, central pressure, Saffir-Simpson
38
+ category as label and number, hurricane and major-hurricane flags.
39
+ - **Structure** — the 34, 50 and 64 kt wind radii in all four quadrants (48 radius values across
40
+ the file), radius of maximum wind, and a flag for whether the storm has structure data.
41
+ - **Motion** — bearing, speed and compass direction since the previous waypoint, plus 6-hourly
42
+ wind and pressure tendencies.
43
+ - **Storm summaries** — peak wind, minimum pressure, peak category, duration, active days,
44
+ waypoint count and Accumulated Cyclone Energy, repeated on every row for easy grouping.
45
+ - **Time features** — decade, waypoint index, first/last waypoint flags.
46
+
47
+ 3,345 waypoints (6.1%) are at major-hurricane intensity. Because the file mixes
48
+ 1851 ship reports with satellite-era fixes, it is a natural laboratory for data-quality work as well
49
+ as for climate-trend analysis.
50
+
51
+ ## 🧾 Columns (57)
52
+
53
+ `storm_id`, `basin`, `basin_code`, `storm_number`, `storm_name`, `storm_year`, `record_time_utc`, `iso_date`, `hour_utc`, `record_identifier`, `status`, `status_label`, `latitude`, `longitude`, `max_wind_kt`, `max_wind_kmh`, `max_wind_mph`, `min_pressure_mb`, `category`, `category_num`, `is_hurricane`, `is_major`, `is_named`, `lat_hemisphere`, `lon_hemisphere`, `distance_to_equator_km`, `movement_bearing_deg`, `movement_speed_kmh`, `movement_direction`, `wind_change_kt`, `pressure_change_mb`, `storm_max_wind_kt`, `storm_min_pressure_mb`, `storm_peak_category`, `storm_duration_days`, `storm_record_count`, `storm_active_days`, `storm_ace`, `storm_sequence_in_year`, `decade`, `waypoint_index`, `is_first_point`, `is_last_point`, `radius_34_kt_ne`, `radius_34_kt_se`, `radius_34_kt_sw`, `radius_34_kt_nw`, `radius_50_kt_ne`, `radius_50_kt_se`, `radius_50_kt_sw`, `radius_50_kt_nw`, `radius_64_kt_ne`, `radius_64_kt_se`, `radius_64_kt_sw`, `radius_64_kt_nw`, `max_wind_radius_nm`, `has_wind_radii`
54
+
55
+ ## 💡 Ideas for using this data
56
+
57
+ 1. **Climate trends** — annual ACE, major-hurricane days and peak intensity by decade; how much of the trend is observation quality?
58
+ 2. **Rapid intensification** — find 24-hour wind increases above 30 kt and ask where and when they happen.
59
+ 3. **Track maps** — plot all tracks coloured by category, or density-map genesis points.
60
+ 4. **Landfall climatology** — use `record_identifier == 'L'` to study US Gulf/Atlantic landfalls by decade and state.
61
+ 5. **Size structure** — wind radii are only available post-2004; model storm size from intensity and latitude.
62
+ 6. **Translation speed** — are storms slowing down? Regress `movement_speed_kmh` on year and latitude.
63
+ 7. **Pressure–wind relationship** — fit wind as a function of pressure, basin and latitude; find outliers.
64
+ 8. **Seasonality** — genesis and peak-timing distributions, and how El Niño years shift the eastern Pacific.
65
+ 9. **Forecast benchmark** — use the 6-hourly series as ground truth for simple persistence/trend baselines.
66
+
67
+ ## 📁 Files
68
+
69
+ | File | What it is |
70
+ |---|---|
71
+ | `hurricanes.csv` | 55,230 six-hourly cyclone waypoints x 57 parameters. |
72
+ | `data_dictionary.csv` | Column / type / description for every field. |
73
+ | `notebook.ipynb` | Starter notebook: tracks, categories, ACE by decade. |
74
+ | `dataset-metadata.json` | Kaggle API metadata. |
75
+ | `about.md` | Plain-text About block. |
76
+
77
+ ## 🏷️ Tags
78
+
79
+ `hurricanes`, `weather`, `climate`, `meteorology`, `natural-disasters`, `geospatial`, `time-series`, `noaa`, `environment`, `tabular`
80
+
81
+ ## 🔗 Provenance
82
+
83
+ - **Source:** NOAA National Hurricane Center / Atlantic Oceanographic and Meteorological Laboratory,
84
+ **HURDAT2** best-track database, file `hurdat2-1851-2024-040425.txt`
85
+ (`https://www.nhc.noaa.gov/data/hurdat/`).
86
+ - **Contents:** all North Atlantic (AL) and eastern/central Pacific (EP/CP) tropical cyclones,
87
+ 1851–2024, at 6-hourly resolution.
88
+ - **Parsing:** the fixed HURDAT2 layout was parsed directly: storm headers, then comma-separated
89
+ waypoint records with 21 fields, including the 12 quadrant wind radii and radius of maximum wind.
90
+ - **Derived columns:** unit conversions, Saffir-Simpson category, motion vector, 6-hourly tendencies,
91
+ storm-level aggregates (peak intensity, ACE, duration), decade and sequence flags.
92
+ - **Snapshot date:** 21 November 2026 (2024 season is the latest in this release).
93
+
94
+ ## 🔄 Update frequency
95
+
96
+ **Annual.** NOAA publishes a revised HURDAT2 file after each season (usually spring); re-run `scripts/22_hurricanes.py` to refresh.
97
+
98
+ ## ⚠️ Caveats
99
+
100
+ - Pre-1950 tracks rely on ship observations and are far less complete; intensity before the satellite era is smoothed and often underestimated.
101
+ - Wind radii (34/50/64 kt quadrants) only exist from 2004 onward; `has_wind_radii` marks availability.
102
+ - Pressure is missing (-999 in the source, blank here) for many early or weak systems.
103
+ - ACE uses the 6-hourly maximum wind; 3-hourly special waypoints are not present in HURDAT2.
104
+ - `record_identifier` flags are sparse and occasionally inconsistent with the surrounding track.
105
+ - The file stops at the 2024 season; storms from 2025–2026 are not included in this release.
106
+ - Longitude is signed (west negative), unlike the source's 'W' suffix notation.
107
+
108
+ ## 📜 Licence
109
+
110
+ Public domain — NOAA / National Weather Service. Best-track data is a work of the U.S. Government and free of copyright; attribution is requested.
111
+
112
+ ### 📋 Column Definitions & File Header
113
+
114
+ | # | Column Name | Data Type | Description |
115
+ |---|---|---|---|
116
+ | 1 | `storm_id` | `string` | HURDAT2 storm identifier (basin + number + year, e.g. AL011851). |
117
+ | 2 | `basin` | `string` | Basin name: North Atlantic, Eastern Pacific or Central Pacific. |
118
+ | 3 | `basin_code` | `string` | Two-letter basin code (AL, EP, CP). |
119
+ | 4 | `storm_number` | `number` | Storm number within its season. |
120
+ | 5 | `storm_name` | `string` | Storm name, or UNNAMED for pre-naming-era systems. |
121
+ | 6 | `storm_year` | `number` | Season year. |
122
+ | 7 | `record_time_utc` | `datetime` | Observation timestamp in UTC (ISO). |
123
+ | 8 | `iso_date` | `number` | Date of the observation (YYYYMMDD, as in the source). |
124
+ | 9 | `hour_utc` | `number` | Synoptic hour of the observation (0, 6, 12, 18). |
125
+ | 10 | `record_identifier` | `string` | Landfall (L), minimum pressure (P) or maximum wind (W) marker. |
126
+ | 11 | `status` | `string` | Two-letter status code (HU, TS, TD, EX, SS, SD, LO, ...). |
127
+ | 12 | `status_label` | `string` | Expanded status label. |
128
+ | 13 | `latitude` | `number` | Storm centre latitude in degrees (north positive). |
129
+ | 14 | `longitude` | `number` | Storm centre longitude in degrees (east positive, so western hemisphere is negative). |
130
+ | 15 | `max_wind_kt` | `number` | Maximum sustained wind in knots (1-minute average). |
131
+ | 16 | `max_wind_kmh` | `number` | Maximum sustained wind converted to km/h. |
132
+ | 17 | `max_wind_mph` | `number` | Maximum sustained wind converted to mph. |
133
+ | 18 | `min_pressure_mb` | `number` | Central pressure in millibars. |
134
+ | 19 | `category` | `string` | Saffir-Simpson category label at this point. |
135
+ | 20 | `category_num` | `number` | Saffir-Simpson category as a number (0 for TS, -1 for depression). |
136
+ | 21 | `is_hurricane` | `boolean` | true when sustained wind is at least 64 kt. |
137
+ | 22 | `is_major` | `boolean` | true when sustained wind is at least 96 kt (Category 3+). |
138
+ | 23 | `is_named` | `boolean` | true when the storm has a name rather than UNNAMED. |
139
+ | 24 | `lat_hemisphere` | `string` | N or S. |
140
+ | 25 | `lon_hemisphere` | `string` | E or W. |
141
+ | 26 | `distance_to_equator_km` | `number` | Absolute latitude converted to km. |
142
+ | 27 | `movement_bearing_deg` | `number` | Bearing of motion since the previous waypoint, in degrees. |
143
+ | 28 | `movement_speed_kmh` | `number` | Translation speed since the previous waypoint, in km/h. |
144
+ | 29 | `movement_direction` | `string` | Compass direction of motion (N, NE, E, ...). |
145
+ | 30 | `wind_change_kt` | `number` | Change in maximum wind since the previous waypoint (kt). |
146
+ | 31 | `pressure_change_mb` | `number` | Change in central pressure since the previous waypoint (mb). |
147
+ | 32 | `storm_max_wind_kt` | `number` | Peak sustained wind over the whole storm. |
148
+ | 33 | `storm_min_pressure_mb` | `number` | Lowest central pressure over the whole storm. |
149
+ | 34 | `storm_peak_category` | `string` | Peak Saffir-Simpson category over the whole storm. |
150
+ | 35 | `storm_duration_days` | `number` | Time between the first and last waypoint, in days. |
151
+ | 36 | `storm_record_count` | `number` | Number of 6-hourly waypoints in the storm. |
152
+ | 37 | `storm_active_days` | `number` | Number of distinct calendar dates with a waypoint. |
153
+ | 38 | `storm_ace` | `number` | Accumulated Cyclone Energy in 10^4 kt^2 (sum of squared winds / 10^4). |
154
+ | 39 | `storm_sequence_in_year` | `number` | Storm number within the season. |
155
+ | 40 | `decade` | `number` | Decade of the season year. |
156
+ | 41 | `waypoint_index` | `number` | Position of this waypoint within the storm track (1-based). |
157
+ | 42 | `is_first_point` | `boolean` | true for the first waypoint of the storm. |
158
+ | 43 | `is_last_point` | `boolean` | true for the last waypoint of the storm. |
159
+ | 44 | `radius_34_kt_ne` | `number` | Radius of 34 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
160
+ | 45 | `radius_34_kt_se` | `number` | Radius of 34 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
161
+ | 46 | `radius_34_kt_sw` | `number` | Radius of 34 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
162
+ | 47 | `radius_34_kt_nw` | `number` | Radius of 34 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
163
+ | 48 | `radius_50_kt_ne` | `number` | Radius of 50 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
164
+ | 49 | `radius_50_kt_se` | `number` | Radius of 50 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
165
+ | 50 | `radius_50_kt_sw` | `number` | Radius of 50 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
166
+ | 51 | `radius_50_kt_nw` | `number` | Radius of 50 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
167
+ | 52 | `radius_64_kt_ne` | `number` | Radius of 64 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |
168
+ | 53 | `radius_64_kt_se` | `number` | Radius of 64 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |
169
+ | 54 | `radius_64_kt_sw` | `number` | Radius of 64 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |
170
+ | 55 | `radius_64_kt_nw` | `number` | Radius of 64 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |
171
+ | 56 | `max_wind_radius_nm` | `number` | Radius of maximum wind in nautical miles, when reported. |
172
+ | 57 | `has_wind_radii` | `boolean` | true when any quadrant wind radius is reported (post-2004 records). |
173
+
174
+
175
+
176
+ ---
177
+
178
+ ## 🌟 Support & Community
179
+ If you find this dataset valuable for your research, portfolio, or machine learning projects, **please give it an upvote (👍) on Kaggle!**
180
+ Feedback, questions, and notebook submissions are warmly welcomed in the Discussions tab.
about.md ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Hurricane Database 1851–2024
2
+
3
+ ### 170 years of Atlantic and eastern Pacific cyclone tracks
4
+
5
+ HURDAT2 is the official best-track archive maintained by the NOAA National Hurricane Center:
6
+ every six hours of every tropical cyclone since 1851, with position, intensity, central pressure
7
+ and (from 2004) the full wind-radius structure.
8
+
9
+ This snapshot has **55,230 waypoints** from **1,991 storms** across **174 seasons
10
+ (1851–2024)** and **57 parameters** per row:
11
+
12
+ - **Track** — storm id, basin, season, storm number and name, timestamp, latitude and longitude,
13
+ landfall/minimum-pressure/maximum-wind record flags.
14
+ - **Intensity** — maximum sustained wind in knots, km/h and mph, central pressure, Saffir-Simpson
15
+ category as label and number, hurricane and major-hurricane flags.
16
+ - **Structure** — the 34, 50 and 64 kt wind radii in all four quadrants (48 radius values across
17
+ the file), radius of maximum wind, and a flag for whether the storm has structure data.
18
+ - **Motion** — bearing, speed and compass direction since the previous waypoint, plus 6-hourly
19
+ wind and pressure tendencies.
20
+ - **Storm summaries** — peak wind, minimum pressure, peak category, duration, active days,
21
+ waypoint count and Accumulated Cyclone Energy, repeated on every row for easy grouping.
22
+ - **Time features** — decade, waypoint index, first/last waypoint flags.
23
+
24
+ 3,345 waypoints (6.1%) are at major-hurricane intensity. Because the file mixes
25
+ 1851 ship reports with satellite-era fixes, it is a natural laboratory for data-quality work as well
26
+ as for climate-trend analysis.
27
+
28
+ 57 columns; one row per six-hourly storm waypoint.
data_dictionary.csv ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ column,data_type,description
2
+ storm_id,string,"HURDAT2 storm identifier (basin + number + year, e.g. AL011851)."
3
+ basin,string,"Basin name: North Atlantic, Eastern Pacific or Central Pacific."
4
+ basin_code,string,"Two-letter basin code (AL, EP, CP)."
5
+ storm_number,number,Storm number within its season.
6
+ storm_name,string,"Storm name, or UNNAMED for pre-naming-era systems."
7
+ storm_year,number,Season year.
8
+ record_time_utc,datetime,Observation timestamp in UTC (ISO).
9
+ iso_date,number,"Date of the observation (YYYYMMDD, as in the source)."
10
+ hour_utc,number,"Synoptic hour of the observation (0, 6, 12, 18)."
11
+ record_identifier,string,"Landfall (L), minimum pressure (P) or maximum wind (W) marker."
12
+ status,string,"Two-letter status code (HU, TS, TD, EX, SS, SD, LO, ...)."
13
+ status_label,string,Expanded status label.
14
+ latitude,number,Storm centre latitude in degrees (north positive).
15
+ longitude,number,"Storm centre longitude in degrees (east positive, so western hemisphere is negative)."
16
+ max_wind_kt,number,Maximum sustained wind in knots (1-minute average).
17
+ max_wind_kmh,number,Maximum sustained wind converted to km/h.
18
+ max_wind_mph,number,Maximum sustained wind converted to mph.
19
+ min_pressure_mb,number,Central pressure in millibars.
20
+ category,string,Saffir-Simpson category label at this point.
21
+ category_num,number,"Saffir-Simpson category as a number (0 for TS, -1 for depression)."
22
+ is_hurricane,boolean,true when sustained wind is at least 64 kt.
23
+ is_major,boolean,true when sustained wind is at least 96 kt (Category 3+).
24
+ is_named,boolean,true when the storm has a name rather than UNNAMED.
25
+ lat_hemisphere,string,N or S.
26
+ lon_hemisphere,string,E or W.
27
+ distance_to_equator_km,number,Absolute latitude converted to km.
28
+ movement_bearing_deg,number,"Bearing of motion since the previous waypoint, in degrees."
29
+ movement_speed_kmh,number,"Translation speed since the previous waypoint, in km/h."
30
+ movement_direction,string,"Compass direction of motion (N, NE, E, ...)."
31
+ wind_change_kt,number,Change in maximum wind since the previous waypoint (kt).
32
+ pressure_change_mb,number,Change in central pressure since the previous waypoint (mb).
33
+ storm_max_wind_kt,number,Peak sustained wind over the whole storm.
34
+ storm_min_pressure_mb,number,Lowest central pressure over the whole storm.
35
+ storm_peak_category,string,Peak Saffir-Simpson category over the whole storm.
36
+ storm_duration_days,number,"Time between the first and last waypoint, in days."
37
+ storm_record_count,number,Number of 6-hourly waypoints in the storm.
38
+ storm_active_days,number,Number of distinct calendar dates with a waypoint.
39
+ storm_ace,number,Accumulated Cyclone Energy in 10^4 kt^2 (sum of squared winds / 10^4).
40
+ storm_sequence_in_year,number,Storm number within the season.
41
+ decade,number,Decade of the season year.
42
+ waypoint_index,number,Position of this waypoint within the storm track (1-based).
43
+ is_first_point,boolean,true for the first waypoint of the storm.
44
+ is_last_point,boolean,true for the last waypoint of the storm.
45
+ radius_34_kt_ne,number,Radius of 34 KT NE winds in nautical miles (quadrant NE/SE/SW/NW).
46
+ radius_34_kt_se,number,Radius of 34 KT SE winds in nautical miles (quadrant NE/SE/SW/NW).
47
+ radius_34_kt_sw,number,Radius of 34 KT SW winds in nautical miles (quadrant NE/SE/SW/NW).
48
+ radius_34_kt_nw,number,Radius of 34 KT NW winds in nautical miles (quadrant NE/SE/SW/NW).
49
+ radius_50_kt_ne,number,Radius of 50 KT NE winds in nautical miles (quadrant NE/SE/SW/NW).
50
+ radius_50_kt_se,number,Radius of 50 KT SE winds in nautical miles (quadrant NE/SE/SW/NW).
51
+ radius_50_kt_sw,number,Radius of 50 KT SW winds in nautical miles (quadrant NE/SE/SW/NW).
52
+ radius_50_kt_nw,number,Radius of 50 KT NW winds in nautical miles (quadrant NE/SE/SW/NW).
53
+ radius_64_kt_ne,number,Radius of 64 KT NE winds in nautical miles (quadrant NE/SE/SW/NW).
54
+ radius_64_kt_se,number,Radius of 64 KT SE winds in nautical miles (quadrant NE/SE/SW/NW).
55
+ radius_64_kt_sw,number,Radius of 64 KT SW winds in nautical miles (quadrant NE/SE/SW/NW).
56
+ radius_64_kt_nw,number,Radius of 64 KT NW winds in nautical miles (quadrant NE/SE/SW/NW).
57
+ max_wind_radius_nm,number,"Radius of maximum wind in nautical miles, when reported."
58
+ has_wind_radii,boolean,true when any quadrant wind radius is reported (post-2004 records).
dataset-metadata.json ADDED
@@ -0,0 +1,321 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "title": "Hurricane Database 1851-2024",
3
+ "id": "samyakrajbayar/hurricane-database",
4
+ "subtitle": "Atlantic and Pacific cyclone tracks with intensity, pressure and wind radii",
5
+ "description": "# Hurricane Database 1851-2024\n\n**Subtitle:** Atlantic and Pacific cyclone tracks with intensity, pressure and wind radii\n\n**Tags:** `weather`, `climate`, `time-series`, `tabular`\n\n**Dataset File:** `hurricanes.csv` (55,230 rows, 57 columns, 14.3 MB)\n\n**Provenance & Source:** NOAA National Hurricane Center HURDAT2 Database\n\n**Expected Update Frequency:** `annually`\n\n---\n\n## \ud83d\udcd6 Description\n\n### 170 years of Atlantic and eastern Pacific cyclone tracks\n\nHURDAT2 is the official best-track archive maintained by the NOAA National Hurricane Center:\nevery six hours of every tropical cyclone since 1851, with position, intensity, central pressure\nand (from 2004) the full wind-radius structure.\n\nThis snapshot has **55,230 waypoints** from **1,991 storms** across **174 seasons\n(1851\u20132024)** and **57 parameters** per row:\n\n- **Track** \u2014 storm id, basin, season, storm number and name, timestamp, latitude and longitude,\n landfall/minimum-pressure/maximum-wind record flags.\n- **Intensity** \u2014 maximum sustained wind in knots, km/h and mph, central pressure, Saffir-Simpson\n category as label and number, hurricane and major-hurricane flags.\n- **Structure** \u2014 the 34, 50 and 64 kt wind radii in all four quadrants (48 radius values across\n the file), radius of maximum wind, and a flag for whether the storm has structure data.\n- **Motion** \u2014 bearing, speed and compass direction since the previous waypoint, plus 6-hourly\n wind and pressure tendencies.\n- **Storm summaries** \u2014 peak wind, minimum pressure, peak category, duration, active days,\n waypoint count and Accumulated Cyclone Energy, repeated on every row for easy grouping.\n- **Time features** \u2014 decade, waypoint index, first/last waypoint flags.\n\n3,345 waypoints (6.1%) are at major-hurricane intensity. Because the file mixes\n1851 ship reports with satellite-era fixes, it is a natural laboratory for data-quality work as well\nas for climate-trend analysis.\n\n## \ud83e\uddfe Columns (57)\n\n`storm_id`, `basin`, `basin_code`, `storm_number`, `storm_name`, `storm_year`, `record_time_utc`, `iso_date`, `hour_utc`, `record_identifier`, `status`, `status_label`, `latitude`, `longitude`, `max_wind_kt`, `max_wind_kmh`, `max_wind_mph`, `min_pressure_mb`, `category`, `category_num`, `is_hurricane`, `is_major`, `is_named`, `lat_hemisphere`, `lon_hemisphere`, `distance_to_equator_km`, `movement_bearing_deg`, `movement_speed_kmh`, `movement_direction`, `wind_change_kt`, `pressure_change_mb`, `storm_max_wind_kt`, `storm_min_pressure_mb`, `storm_peak_category`, `storm_duration_days`, `storm_record_count`, `storm_active_days`, `storm_ace`, `storm_sequence_in_year`, `decade`, `waypoint_index`, `is_first_point`, `is_last_point`, `radius_34_kt_ne`, `radius_34_kt_se`, `radius_34_kt_sw`, `radius_34_kt_nw`, `radius_50_kt_ne`, `radius_50_kt_se`, `radius_50_kt_sw`, `radius_50_kt_nw`, `radius_64_kt_ne`, `radius_64_kt_se`, `radius_64_kt_sw`, `radius_64_kt_nw`, `max_wind_radius_nm`, `has_wind_radii`\n\n## \ud83d\udca1 Ideas for using this data\n\n1. **Climate trends** \u2014 annual ACE, major-hurricane days and peak intensity by decade; how much of the trend is observation quality?\n2. **Rapid intensification** \u2014 find 24-hour wind increases above 30 kt and ask where and when they happen.\n3. **Track maps** \u2014 plot all tracks coloured by category, or density-map genesis points.\n4. **Landfall climatology** \u2014 use `record_identifier == 'L'` to study US Gulf/Atlantic landfalls by decade and state.\n5. **Size structure** \u2014 wind radii are only available post-2004; model storm size from intensity and latitude.\n6. **Translation speed** \u2014 are storms slowing down? Regress `movement_speed_kmh` on year and latitude.\n7. **Pressure\u2013wind relationship** \u2014 fit wind as a function of pressure, basin and latitude; find outliers.\n8. **Seasonality** \u2014 genesis and peak-timing distributions, and how El Ni\u00f1o years shift the eastern Pacific.\n9. **Forecast benchmark** \u2014 use the 6-hourly series as ground truth for simple persistence/trend baselines.\n\n## \ud83d\udcc1 Files\n\n| File | What it is |\n|---|---|\n| `hurricanes.csv` | 55,230 six-hourly cyclone waypoints x 57 parameters. |\n| `data_dictionary.csv` | Column / type / description for every field. |\n| `notebook.ipynb` | Starter notebook: tracks, categories, ACE by decade. |\n| `dataset-metadata.json` | Kaggle API metadata. |\n| `about.md` | Plain-text About block. |\n\n## \ud83c\udff7\ufe0f Tags\n\n`hurricanes`, `weather`, `climate`, `meteorology`, `natural-disasters`, `geospatial`, `time-series`, `noaa`, `environment`, `tabular`\n\n## \ud83d\udd17 Provenance\n\n- **Source:** NOAA National Hurricane Center / Atlantic Oceanographic and Meteorological Laboratory,\n **HURDAT2** best-track database, file `hurdat2-1851-2024-040425.txt`\n (`https://www.nhc.noaa.gov/data/hurdat/`).\n- **Contents:** all North Atlantic (AL) and eastern/central Pacific (EP/CP) tropical cyclones,\n 1851\u20132024, at 6-hourly resolution.\n- **Parsing:** the fixed HURDAT2 layout was parsed directly: storm headers, then comma-separated\n waypoint records with 21 fields, including the 12 quadrant wind radii and radius of maximum wind.\n- **Derived columns:** unit conversions, Saffir-Simpson category, motion vector, 6-hourly tendencies,\n storm-level aggregates (peak intensity, ACE, duration), decade and sequence flags.\n- **Snapshot date:** 21 November 2026 (2024 season is the latest in this release).\n\n## \ud83d\udd04 Update frequency\n\n**Annual.** NOAA publishes a revised HURDAT2 file after each season (usually spring); re-run `scripts/22_hurricanes.py` to refresh.\n\n## \u26a0\ufe0f Caveats\n\n- Pre-1950 tracks rely on ship observations and are far less complete; intensity before the satellite era is smoothed and often underestimated.\n- Wind radii (34/50/64 kt quadrants) only exist from 2004 onward; `has_wind_radii` marks availability.\n- Pressure is missing (-999 in the source, blank here) for many early or weak systems.\n- ACE uses the 6-hourly maximum wind; 3-hourly special waypoints are not present in HURDAT2.\n- `record_identifier` flags are sparse and occasionally inconsistent with the surrounding track.\n- The file stops at the 2024 season; storms from 2025\u20132026 are not included in this release.\n- Longitude is signed (west negative), unlike the source's 'W' suffix notation.\n\n## \ud83d\udcdc Licence\n\nPublic domain \u2014 NOAA / National Weather Service. Best-track data is a work of the U.S. Government and free of copyright; attribution is requested.\n\n### \ud83d\udccb Column Definitions & File Header\n\n| # | Column Name | Data Type | Description |\n|---|---|---|---|\n| 1 | `storm_id` | `string` | HURDAT2 storm identifier (basin + number + year, e.g. AL011851). |\n| 2 | `basin` | `string` | Basin name: North Atlantic, Eastern Pacific or Central Pacific. |\n| 3 | `basin_code` | `string` | Two-letter basin code (AL, EP, CP). |\n| 4 | `storm_number` | `number` | Storm number within its season. |\n| 5 | `storm_name` | `string` | Storm name, or UNNAMED for pre-naming-era systems. |\n| 6 | `storm_year` | `number` | Season year. |\n| 7 | `record_time_utc` | `datetime` | Observation timestamp in UTC (ISO). |\n| 8 | `iso_date` | `number` | Date of the observation (YYYYMMDD, as in the source). |\n| 9 | `hour_utc` | `number` | Synoptic hour of the observation (0, 6, 12, 18). |\n| 10 | `record_identifier` | `string` | Landfall (L), minimum pressure (P) or maximum wind (W) marker. |\n| 11 | `status` | `string` | Two-letter status code (HU, TS, TD, EX, SS, SD, LO, ...). |\n| 12 | `status_label` | `string` | Expanded status label. |\n| 13 | `latitude` | `number` | Storm centre latitude in degrees (north positive). |\n| 14 | `longitude` | `number` | Storm centre longitude in degrees (east positive, so western hemisphere is negative). |\n| 15 | `max_wind_kt` | `number` | Maximum sustained wind in knots (1-minute average). |\n| 16 | `max_wind_kmh` | `number` | Maximum sustained wind converted to km/h. |\n| 17 | `max_wind_mph` | `number` | Maximum sustained wind converted to mph. |\n| 18 | `min_pressure_mb` | `number` | Central pressure in millibars. |\n| 19 | `category` | `string` | Saffir-Simpson category label at this point. |\n| 20 | `category_num` | `number` | Saffir-Simpson category as a number (0 for TS, -1 for depression). |\n| 21 | `is_hurricane` | `boolean` | true when sustained wind is at least 64 kt. |\n| 22 | `is_major` | `boolean` | true when sustained wind is at least 96 kt (Category 3+). |\n| 23 | `is_named` | `boolean` | true when the storm has a name rather than UNNAMED. |\n| 24 | `lat_hemisphere` | `string` | N or S. |\n| 25 | `lon_hemisphere` | `string` | E or W. |\n| 26 | `distance_to_equator_km` | `number` | Absolute latitude converted to km. |\n| 27 | `movement_bearing_deg` | `number` | Bearing of motion since the previous waypoint, in degrees. |\n| 28 | `movement_speed_kmh` | `number` | Translation speed since the previous waypoint, in km/h. |\n| 29 | `movement_direction` | `string` | Compass direction of motion (N, NE, E, ...). |\n| 30 | `wind_change_kt` | `number` | Change in maximum wind since the previous waypoint (kt). |\n| 31 | `pressure_change_mb` | `number` | Change in central pressure since the previous waypoint (mb). |\n| 32 | `storm_max_wind_kt` | `number` | Peak sustained wind over the whole storm. |\n| 33 | `storm_min_pressure_mb` | `number` | Lowest central pressure over the whole storm. |\n| 34 | `storm_peak_category` | `string` | Peak Saffir-Simpson category over the whole storm. |\n| 35 | `storm_duration_days` | `number` | Time between the first and last waypoint, in days. |\n| 36 | `storm_record_count` | `number` | Number of 6-hourly waypoints in the storm. |\n| 37 | `storm_active_days` | `number` | Number of distinct calendar dates with a waypoint. |\n| 38 | `storm_ace` | `number` | Accumulated Cyclone Energy in 10^4 kt^2 (sum of squared winds / 10^4). |\n| 39 | `storm_sequence_in_year` | `number` | Storm number within the season. |\n| 40 | `decade` | `number` | Decade of the season year. |\n| 41 | `waypoint_index` | `number` | Position of this waypoint within the storm track (1-based). |\n| 42 | `is_first_point` | `boolean` | true for the first waypoint of the storm. |\n| 43 | `is_last_point` | `boolean` | true for the last waypoint of the storm. |\n| 44 | `radius_34_kt_ne` | `number` | Radius of 34 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 45 | `radius_34_kt_se` | `number` | Radius of 34 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 46 | `radius_34_kt_sw` | `number` | Radius of 34 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 47 | `radius_34_kt_nw` | `number` | Radius of 34 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 48 | `radius_50_kt_ne` | `number` | Radius of 50 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 49 | `radius_50_kt_se` | `number` | Radius of 50 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 50 | `radius_50_kt_sw` | `number` | Radius of 50 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 51 | `radius_50_kt_nw` | `number` | Radius of 50 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 52 | `radius_64_kt_ne` | `number` | Radius of 64 KT NE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 53 | `radius_64_kt_se` | `number` | Radius of 64 KT SE winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 54 | `radius_64_kt_sw` | `number` | Radius of 64 KT SW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 55 | `radius_64_kt_nw` | `number` | Radius of 64 KT NW winds in nautical miles (quadrant NE/SE/SW/NW). |\n| 56 | `max_wind_radius_nm` | `number` | Radius of maximum wind in nautical miles, when reported. |\n| 57 | `has_wind_radii` | `boolean` | true when any quadrant wind radius is reported (post-2004 records). |\n\n\n\n---\n\n## \ud83c\udf1f Support & Community\nIf you find this dataset valuable for your research, portfolio, or machine learning projects, **please give it an upvote (\ud83d\udc4d) on Kaggle!**\nFeedback, questions, and notebook submissions are warmly welcomed in the Discussions tab.\n",
6
+ "isPrivate": false,
7
+ "licenses": [
8
+ {
9
+ "name": "CC0-1.0"
10
+ }
11
+ ],
12
+ "keywords": [
13
+ "weather",
14
+ "climate",
15
+ "time-series",
16
+ "tabular"
17
+ ],
18
+ "resources": [
19
+ {
20
+ "path": "hurricanes.csv",
21
+ "description": "Primary dataset file containing 55,230 records across 57 parameters.",
22
+ "schema": {
23
+ "fields": [
24
+ {
25
+ "name": "storm_id",
26
+ "type": "string",
27
+ "description": "HURDAT2 storm identifier (basin + number + year, e.g. AL011851)."
28
+ },
29
+ {
30
+ "name": "basin",
31
+ "type": "string",
32
+ "description": "Basin name: North Atlantic, Eastern Pacific or Central Pacific."
33
+ },
34
+ {
35
+ "name": "basin_code",
36
+ "type": "string",
37
+ "description": "Two-letter basin code (AL, EP, CP)."
38
+ },
39
+ {
40
+ "name": "storm_number",
41
+ "type": "number",
42
+ "description": "Storm number within its season."
43
+ },
44
+ {
45
+ "name": "storm_name",
46
+ "type": "string",
47
+ "description": "Storm name, or UNNAMED for pre-naming-era systems."
48
+ },
49
+ {
50
+ "name": "storm_year",
51
+ "type": "number",
52
+ "description": "Season year."
53
+ },
54
+ {
55
+ "name": "record_time_utc",
56
+ "type": "datetime",
57
+ "description": "Observation timestamp in UTC (ISO)."
58
+ },
59
+ {
60
+ "name": "iso_date",
61
+ "type": "number",
62
+ "description": "Date of the observation (YYYYMMDD, as in the source)."
63
+ },
64
+ {
65
+ "name": "hour_utc",
66
+ "type": "number",
67
+ "description": "Synoptic hour of the observation (0, 6, 12, 18)."
68
+ },
69
+ {
70
+ "name": "record_identifier",
71
+ "type": "string",
72
+ "description": "Landfall (L), minimum pressure (P) or maximum wind (W) marker."
73
+ },
74
+ {
75
+ "name": "status",
76
+ "type": "string",
77
+ "description": "Two-letter status code (HU, TS, TD, EX, SS, SD, LO, ...)."
78
+ },
79
+ {
80
+ "name": "status_label",
81
+ "type": "string",
82
+ "description": "Expanded status label."
83
+ },
84
+ {
85
+ "name": "latitude",
86
+ "type": "number",
87
+ "description": "Storm centre latitude in degrees (north positive)."
88
+ },
89
+ {
90
+ "name": "longitude",
91
+ "type": "number",
92
+ "description": "Storm centre longitude in degrees (east positive, so western hemisphere is negative)."
93
+ },
94
+ {
95
+ "name": "max_wind_kt",
96
+ "type": "number",
97
+ "description": "Maximum sustained wind in knots (1-minute average)."
98
+ },
99
+ {
100
+ "name": "max_wind_kmh",
101
+ "type": "number",
102
+ "description": "Maximum sustained wind converted to km/h."
103
+ },
104
+ {
105
+ "name": "max_wind_mph",
106
+ "type": "number",
107
+ "description": "Maximum sustained wind converted to mph."
108
+ },
109
+ {
110
+ "name": "min_pressure_mb",
111
+ "type": "number",
112
+ "description": "Central pressure in millibars."
113
+ },
114
+ {
115
+ "name": "category",
116
+ "type": "string",
117
+ "description": "Saffir-Simpson category label at this point."
118
+ },
119
+ {
120
+ "name": "category_num",
121
+ "type": "number",
122
+ "description": "Saffir-Simpson category as a number (0 for TS, -1 for depression)."
123
+ },
124
+ {
125
+ "name": "is_hurricane",
126
+ "type": "boolean",
127
+ "description": "true when sustained wind is at least 64 kt."
128
+ },
129
+ {
130
+ "name": "is_major",
131
+ "type": "boolean",
132
+ "description": "true when sustained wind is at least 96 kt (Category 3+)."
133
+ },
134
+ {
135
+ "name": "is_named",
136
+ "type": "boolean",
137
+ "description": "true when the storm has a name rather than UNNAMED."
138
+ },
139
+ {
140
+ "name": "lat_hemisphere",
141
+ "type": "string",
142
+ "description": "N or S."
143
+ },
144
+ {
145
+ "name": "lon_hemisphere",
146
+ "type": "string",
147
+ "description": "E or W."
148
+ },
149
+ {
150
+ "name": "distance_to_equator_km",
151
+ "type": "number",
152
+ "description": "Absolute latitude converted to km."
153
+ },
154
+ {
155
+ "name": "movement_bearing_deg",
156
+ "type": "number",
157
+ "description": "Bearing of motion since the previous waypoint, in degrees."
158
+ },
159
+ {
160
+ "name": "movement_speed_kmh",
161
+ "type": "number",
162
+ "description": "Translation speed since the previous waypoint, in km/h."
163
+ },
164
+ {
165
+ "name": "movement_direction",
166
+ "type": "string",
167
+ "description": "Compass direction of motion (N, NE, E, ...)."
168
+ },
169
+ {
170
+ "name": "wind_change_kt",
171
+ "type": "number",
172
+ "description": "Change in maximum wind since the previous waypoint (kt)."
173
+ },
174
+ {
175
+ "name": "pressure_change_mb",
176
+ "type": "number",
177
+ "description": "Change in central pressure since the previous waypoint (mb)."
178
+ },
179
+ {
180
+ "name": "storm_max_wind_kt",
181
+ "type": "number",
182
+ "description": "Peak sustained wind over the whole storm."
183
+ },
184
+ {
185
+ "name": "storm_min_pressure_mb",
186
+ "type": "number",
187
+ "description": "Lowest central pressure over the whole storm."
188
+ },
189
+ {
190
+ "name": "storm_peak_category",
191
+ "type": "string",
192
+ "description": "Peak Saffir-Simpson category over the whole storm."
193
+ },
194
+ {
195
+ "name": "storm_duration_days",
196
+ "type": "number",
197
+ "description": "Time between the first and last waypoint, in days."
198
+ },
199
+ {
200
+ "name": "storm_record_count",
201
+ "type": "number",
202
+ "description": "Number of 6-hourly waypoints in the storm."
203
+ },
204
+ {
205
+ "name": "storm_active_days",
206
+ "type": "number",
207
+ "description": "Number of distinct calendar dates with a waypoint."
208
+ },
209
+ {
210
+ "name": "storm_ace",
211
+ "type": "number",
212
+ "description": "Accumulated Cyclone Energy in 10^4 kt^2 (sum of squared winds / 10^4)."
213
+ },
214
+ {
215
+ "name": "storm_sequence_in_year",
216
+ "type": "number",
217
+ "description": "Storm number within the season."
218
+ },
219
+ {
220
+ "name": "decade",
221
+ "type": "number",
222
+ "description": "Decade of the season year."
223
+ },
224
+ {
225
+ "name": "waypoint_index",
226
+ "type": "number",
227
+ "description": "Position of this waypoint within the storm track (1-based)."
228
+ },
229
+ {
230
+ "name": "is_first_point",
231
+ "type": "boolean",
232
+ "description": "true for the first waypoint of the storm."
233
+ },
234
+ {
235
+ "name": "is_last_point",
236
+ "type": "boolean",
237
+ "description": "true for the last waypoint of the storm."
238
+ },
239
+ {
240
+ "name": "radius_34_kt_ne",
241
+ "type": "number",
242
+ "description": "Radius of 34 KT NE winds in nautical miles (quadrant NE/SE/SW/NW)."
243
+ },
244
+ {
245
+ "name": "radius_34_kt_se",
246
+ "type": "number",
247
+ "description": "Radius of 34 KT SE winds in nautical miles (quadrant NE/SE/SW/NW)."
248
+ },
249
+ {
250
+ "name": "radius_34_kt_sw",
251
+ "type": "number",
252
+ "description": "Radius of 34 KT SW winds in nautical miles (quadrant NE/SE/SW/NW)."
253
+ },
254
+ {
255
+ "name": "radius_34_kt_nw",
256
+ "type": "number",
257
+ "description": "Radius of 34 KT NW winds in nautical miles (quadrant NE/SE/SW/NW)."
258
+ },
259
+ {
260
+ "name": "radius_50_kt_ne",
261
+ "type": "number",
262
+ "description": "Radius of 50 KT NE winds in nautical miles (quadrant NE/SE/SW/NW)."
263
+ },
264
+ {
265
+ "name": "radius_50_kt_se",
266
+ "type": "number",
267
+ "description": "Radius of 50 KT SE winds in nautical miles (quadrant NE/SE/SW/NW)."
268
+ },
269
+ {
270
+ "name": "radius_50_kt_sw",
271
+ "type": "number",
272
+ "description": "Radius of 50 KT SW winds in nautical miles (quadrant NE/SE/SW/NW)."
273
+ },
274
+ {
275
+ "name": "radius_50_kt_nw",
276
+ "type": "number",
277
+ "description": "Radius of 50 KT NW winds in nautical miles (quadrant NE/SE/SW/NW)."
278
+ },
279
+ {
280
+ "name": "radius_64_kt_ne",
281
+ "type": "number",
282
+ "description": "Radius of 64 KT NE winds in nautical miles (quadrant NE/SE/SW/NW)."
283
+ },
284
+ {
285
+ "name": "radius_64_kt_se",
286
+ "type": "number",
287
+ "description": "Radius of 64 KT SE winds in nautical miles (quadrant NE/SE/SW/NW)."
288
+ },
289
+ {
290
+ "name": "radius_64_kt_sw",
291
+ "type": "number",
292
+ "description": "Radius of 64 KT SW winds in nautical miles (quadrant NE/SE/SW/NW)."
293
+ },
294
+ {
295
+ "name": "radius_64_kt_nw",
296
+ "type": "number",
297
+ "description": "Radius of 64 KT NW winds in nautical miles (quadrant NE/SE/SW/NW)."
298
+ },
299
+ {
300
+ "name": "max_wind_radius_nm",
301
+ "type": "number",
302
+ "description": "Radius of maximum wind in nautical miles, when reported."
303
+ },
304
+ {
305
+ "name": "has_wind_radii",
306
+ "type": "boolean",
307
+ "description": "true when any quadrant wind radius is reported (post-2004 records)."
308
+ }
309
+ ]
310
+ }
311
+ },
312
+ {
313
+ "path": "data_dictionary.csv",
314
+ "description": "Field-level data dictionary detailing column names, data types, and semantic definitions."
315
+ },
316
+ {
317
+ "path": "notebook.ipynb",
318
+ "description": "Jupyter starter notebook providing exploratory data analysis."
319
+ }
320
+ ]
321
+ }
hurricanes.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9118588d2cd16ab635ef1b7e585d85b955976a3e395e905aa290bcd3ab0502d7
3
+ size 15023534
kernel-metadata.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "id": "samyakrajbayar/hurricane-database-analysis",
3
+ "title": "Hurricane Database 1851-2024 Analysis",
4
+ "code_file": "notebook.ipynb",
5
+ "language": "python",
6
+ "kernel_type": "notebook",
7
+ "is_private": false,
8
+ "enable_gpu": false,
9
+ "enable_tpu": false,
10
+ "enable_internet": true,
11
+ "dataset_sources": [
12
+ "samyakrajbayar/hurricane-database"
13
+ ]
14
+ }
notebook.ipynb ADDED
@@ -0,0 +1,225 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "id": "38745ba7",
6
+ "metadata": {},
7
+ "source": [
8
+ "# Hurricane Database 1851–2024\n",
9
+ "\n",
10
+ "Starter notebook for the Kaggle dataset in this folder. It loads `hurricanes.csv` with pandas and walks through quality checks and a first piece of analysis.\n",
11
+ "\n",
12
+ "**Files:** `hurricanes.csv`, `data_dictionary.csv`."
13
+ ]
14
+ },
15
+ {
16
+ "cell_type": "markdown",
17
+ "id": "0000f7f2",
18
+ "metadata": {},
19
+ "source": [
20
+ "## 1. Load the data"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "id": "54abf4aa",
26
+ "metadata": {},
27
+ "execution_count": null,
28
+ "outputs": [],
29
+ "source": [
30
+ "import pandas as pd\n",
31
+ "\n",
32
+ "df = pd.read_csv(\"hurricanes.csv\", low_memory=False)\n",
33
+ "df[\"record_time_utc\"] = pd.to_datetime(df[\"record_time_utc\"], errors=\"coerce\")\n",
34
+ "print(df.shape)"
35
+ ]
36
+ },
37
+ {
38
+ "cell_type": "markdown",
39
+ "id": "325de123",
40
+ "metadata": {},
41
+ "source": [
42
+ "## 2. Shape, types and missing values"
43
+ ]
44
+ },
45
+ {
46
+ "cell_type": "code",
47
+ "id": "6eb42bc8",
48
+ "metadata": {},
49
+ "execution_count": null,
50
+ "outputs": [],
51
+ "source": [
52
+ "print(f\"{df.shape[0]:,} rows x {df.shape[1]} columns\")\n",
53
+ "\n",
54
+ "missing = df.isna().mean().mul(100).sort_values(ascending=False)\n",
55
+ "missing[missing > 0].round(1).to_frame(\"missing_%\").head(15)"
56
+ ]
57
+ },
58
+ {
59
+ "cell_type": "markdown",
60
+ "id": "f2d963fe",
61
+ "metadata": {},
62
+ "source": [
63
+ "## 3. Numeric summary"
64
+ ]
65
+ },
66
+ {
67
+ "cell_type": "code",
68
+ "id": "aa2f8fd4",
69
+ "metadata": {},
70
+ "execution_count": null,
71
+ "outputs": [],
72
+ "source": [
73
+ "df.describe(include='number').T.round(2).head(20)"
74
+ ]
75
+ },
76
+ {
77
+ "cell_type": "markdown",
78
+ "id": "059cb35a",
79
+ "metadata": {},
80
+ "source": [
81
+ "## 4. Storms and waypoints by decade"
82
+ ]
83
+ },
84
+ {
85
+ "cell_type": "code",
86
+ "id": "92ce0bfb",
87
+ "metadata": {},
88
+ "execution_count": null,
89
+ "outputs": [],
90
+ "source": [
91
+ "df.groupby(\"decade\").agg(storms=(\"storm_id\", \"nunique\"),\n",
92
+ " waypoints=(\"storm_id\", \"size\")).tail(12)"
93
+ ]
94
+ },
95
+ {
96
+ "cell_type": "markdown",
97
+ "id": "72097b1f",
98
+ "metadata": {},
99
+ "source": [
100
+ "## 5. Peak category distribution"
101
+ ]
102
+ },
103
+ {
104
+ "cell_type": "code",
105
+ "id": "a39b39e5",
106
+ "metadata": {},
107
+ "execution_count": null,
108
+ "outputs": [],
109
+ "source": [
110
+ "(df.drop_duplicates(\"storm_id\")[\"storm_peak_category\"]\n",
111
+ " .value_counts().reindex([\"Tropical Depression\", \"Tropical Storm\", \"Category 1\", \"Category 2\",\n",
112
+ " \"Category 3\", \"Category 4\", \"Category 5\"]))"
113
+ ]
114
+ },
115
+ {
116
+ "cell_type": "markdown",
117
+ "id": "3841ce58",
118
+ "metadata": {},
119
+ "source": [
120
+ "## 6. Accumulated Cyclone Energy by decade"
121
+ ]
122
+ },
123
+ {
124
+ "cell_type": "code",
125
+ "id": "cfcfe5c6",
126
+ "metadata": {},
127
+ "execution_count": null,
128
+ "outputs": [],
129
+ "source": [
130
+ "ace = df.drop_duplicates(\"storm_id\").groupby(\"decade\")[\"storm_ace\"].sum()\n",
131
+ "ace.tail(15).plot(kind=\"bar\", figsize=(10, 4), title=\"Total ACE by decade\")"
132
+ ]
133
+ },
134
+ {
135
+ "cell_type": "markdown",
136
+ "id": "58102f26",
137
+ "metadata": {},
138
+ "source": [
139
+ "## 7. A single track, mapped"
140
+ ]
141
+ },
142
+ {
143
+ "cell_type": "code",
144
+ "id": "183cd84c",
145
+ "metadata": {},
146
+ "execution_count": null,
147
+ "outputs": [],
148
+ "source": [
149
+ "storm = df[df[\"storm_id\"] == df.loc[df[\"storm_max_wind_kt\"].idxmax(), \"storm_id\"]]\n",
150
+ "ax = storm.plot(x=\"longitude\", y=\"latitude\", figsize=(8, 6), legend=False,\n",
151
+ " title=f\"Track of {storm['storm_name'].iloc[0]} ({storm['storm_year'].iloc[0]})\")\n",
152
+ "ax.set_xlabel(\"longitude\"); ax.set_ylabel(\"latitude\")"
153
+ ]
154
+ },
155
+ {
156
+ "cell_type": "markdown",
157
+ "id": "11495f9e",
158
+ "metadata": {},
159
+ "source": [
160
+ "## 8. Wind vs pressure"
161
+ ]
162
+ },
163
+ {
164
+ "cell_type": "code",
165
+ "id": "ab4091ce",
166
+ "metadata": {},
167
+ "execution_count": null,
168
+ "outputs": [],
169
+ "source": [
170
+ "sub = df.dropna(subset=[\"min_pressure_mb\", \"max_wind_kt\"])\n",
171
+ "sub.plot.scatter(x=\"min_pressure_mb\", y=\"max_wind_kt\", s=4, alpha=0.2, figsize=(8, 5))"
172
+ ]
173
+ },
174
+ {
175
+ "cell_type": "markdown",
176
+ "id": "d4451304",
177
+ "metadata": {},
178
+ "source": [
179
+ "## 9. Translation speed over time"
180
+ ]
181
+ },
182
+ {
183
+ "cell_type": "code",
184
+ "id": "afaec914",
185
+ "metadata": {},
186
+ "execution_count": null,
187
+ "outputs": [],
188
+ "source": [
189
+ "df.groupby(\"decade\")[\"movement_speed_kmh\"].median().tail(15).plot(\n",
190
+ " kind=\"line\", marker=\"o\", figsize=(10, 4), title=\"Median translation speed by decade\")"
191
+ ]
192
+ },
193
+ {
194
+ "cell_type": "markdown",
195
+ "id": "6e43770c",
196
+ "metadata": {},
197
+ "source": [
198
+ "## Next steps\n",
199
+ "\n",
200
+ "See `KAGGLE.md` for analysis ideas, caveats and provenance."
201
+ ]
202
+ }
203
+ ],
204
+ "metadata": {
205
+ "kernelspec": {
206
+ "display_name": "Python 3",
207
+ "language": "python",
208
+ "name": "python3"
209
+ },
210
+ "language_info": {
211
+ "name": "python",
212
+ "version": "3.11",
213
+ "mimetype": "text/x-python",
214
+ "file_extension": ".py",
215
+ "codemirror_mode": {
216
+ "name": "ipython",
217
+ "version": 3
218
+ },
219
+ "pygments_lexer": "ipython3",
220
+ "nbconvert_exporter": "python"
221
+ }
222
+ },
223
+ "nbformat": 4,
224
+ "nbformat_minor": 5
225
+ }