The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'year'}) and 3 missing columns ({'last_year', 'state', 'first_year'}).
This happened while the csv dataset builder was generating data using
hf://datasets/himaxym/faa-laser-strikes-us/laser_strikes_by_year.csv (at revision e6565fe93fc7a188241e502160d8ad06ab6b559b), ['hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_by_state.csv', 'hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_by_year.csv', 'hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_top_cities.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1837, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 765, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2369, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2297, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
year: int64
total: int64
injuries: int64
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 602
to
{'state': Value('string'), 'total': Value('int64'), 'injuries': Value('int64'), 'first_year': Value('int64'), 'last_year': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1683, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1839, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 1 new columns ({'year'}) and 3 missing columns ({'last_year', 'state', 'first_year'}).
This happened while the csv dataset builder was generating data using
hf://datasets/himaxym/faa-laser-strikes-us/laser_strikes_by_year.csv (at revision e6565fe93fc7a188241e502160d8ad06ab6b559b), ['hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_by_state.csv', 'hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_by_year.csv', 'hf://datasets/himaxym/faa-laser-strikes-us@e6565fe93fc7a188241e502160d8ad06ab6b559b/laser_strikes_top_cities.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
state string | total int64 | injuries int64 | first_year int64 | last_year int64 |
|---|---|---|---|---|
California | 7,550 | 28 | 2,021 | 2,025 |
Texas | 5,835 | 26 | 2,021 | 2,025 |
Florida | 3,411 | 20 | 2,021 | 2,025 |
Tennessee | 2,520 | 6 | 2,021 | 2,025 |
Indiana | 2,432 | 7 | 2,021 | 2,025 |
Illinois | 2,392 | 8 | 2,021 | 2,025 |
Arizona | 2,282 | 8 | 2,021 | 2,025 |
Washington | 2,245 | 4 | 2,021 | 2,025 |
New York | 1,779 | 8 | 2,021 | 2,025 |
Georgia | 1,746 | 6 | 2,021 | 2,025 |
Virginia | 1,598 | 6 | 2,021 | 2,025 |
Colorado | 1,555 | 8 | 2,021 | 2,025 |
Ohio | 1,290 | 8 | 2,021 | 2,025 |
North Carolina | 1,273 | 15 | 2,021 | 2,025 |
Minnesota | 1,265 | 4 | 2,021 | 2,025 |
New Mexico | 1,259 | 2 | 2,021 | 2,025 |
Pennsylvania | 1,215 | 6 | 2,021 | 2,025 |
Utah | 984 | 9 | 2,021 | 2,025 |
Oregon | 974 | 4 | 2,021 | 2,025 |
Nevada | 880 | 3 | 2,021 | 2,025 |
Kentucky | 856 | 0 | 2,021 | 2,025 |
Missouri | 812 | 4 | 2,021 | 2,025 |
Hawaii | 779 | 0 | 2,021 | 2,025 |
Kansas | 715 | 3 | 2,021 | 2,025 |
New Hampshire | 614 | 7 | 2,021 | 2,025 |
Michigan | 544 | 3 | 2,021 | 2,025 |
South Carolina | 537 | 2 | 2,021 | 2,025 |
Puerto Rico | 531 | 5 | 2,021 | 2,025 |
Oklahoma | 528 | 0 | 2,021 | 2,025 |
Louisiana | 513 | 1 | 2,021 | 2,025 |
District of Columbia | 413 | 7 | 2,021 | 2,025 |
Alabama | 382 | 2 | 2,021 | 2,025 |
Arkansas | 334 | 3 | 2,021 | 2,025 |
Massachusetts | 291 | 0 | 2,021 | 2,025 |
New Jersey | 271 | 1 | 2,021 | 2,025 |
Idaho | 263 | 2 | 2,021 | 2,025 |
Wisconsin | 249 | 2 | 2,021 | 2,025 |
Mississippi | 219 | 1 | 2,021 | 2,025 |
Iowa | 186 | 0 | 2,021 | 2,025 |
West Virginia | 147 | 1 | 2,021 | 2,025 |
Nebraska | 139 | 1 | 2,021 | 2,025 |
Montana | 137 | 1 | 2,021 | 2,025 |
Maine | 108 | 1 | 2,021 | 2,025 |
Connecticut | 107 | 5 | 2,021 | 2,025 |
Rhode Island | 100 | 1 | 2,021 | 2,025 |
North Dakota | 99 | 0 | 2,021 | 2,025 |
Alaska | 93 | 0 | 2,021 | 2,025 |
Maryland | 68 | 1 | 2,021 | 2,025 |
South Dakota | 67 | 1 | 2,021 | 2,025 |
Vermont | 48 | 0 | 2,021 | 2,025 |
Guam | 35 | 2 | 2,021 | 2,025 |
Delaware | 30 | 0 | 2,021 | 2,025 |
Wyoming | 9 | 0 | 2,021 | 2,025 |
Saipan, CNMI | 4 | 0 | 2,023 | 2,023 |
Virgin Islands | 3 | 0 | 2,021 | 2,022 |
0 | 2 | 0 | 2,024 | 2,024 |
null | 9,723 | 47 | null | null |
null | 7,863 | 30 | null | null |
null | 13,304 | 35 | null | null |
null | 12,840 | 121 | null | null |
null | 10,992 | 10 | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
California | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Texas | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Florida | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Tennessee | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Indiana | null | null | null | null |
Laser Strikes on Aircraft Reported to the FAA, 2021-2025 (by year, state, city)
Aggregated from FAA laser-strike reports (54,722 reports, 2021-2025), compiled by FlightFinder. Files: reports by year (with crew injuries), by state, and top cities per state. Fun fact hiding in the data: the top "city" in America is Mather, CA - a Sacramento suburb - an artifact of how the FAA fills the city field (see https://himaxym.com/stories/laser-strike-capital).
Interactive version with per-record drill-down: https://himaxym.com/safety/laser-strikes
Also published on Zenodo (same data, citable): https://doi.org/10.5281/zenodo.21347862
Source data: U.S. government work (public domain). Compilation: CC BY 4.0 — please attribute "FlightFinder (himaxym.com)". Counts represent FAA reports, not independently verified incidents.
- Downloads last month
- 20