Dataset Preview
Full Screen
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
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 missing columns ({'subject_id'})

This happened while the csv dataset builder was generating data using

hf://datasets/rajpurkarlab/CXR-PRO/mimic_test_impressions.csv (at revision 4f651d4d829b90f12d836eed30b08b7619b13b2f)

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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2011, in _prepare_split_single
                  writer.write_table(table)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 585, in write_table
                  pa_table = table_cast(pa_table, self._schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2302, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2256, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              study_id: int64
              report: string
              dicom_id: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 603
              to
              {'dicom_id': Value(dtype='string', id=None), 'study_id': Value(dtype='int64', id=None), 'subject_id': Value(dtype='int64', id=None), 'report': Value(dtype='string', id=None)}
              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 1321, in compute_config_parquet_and_info_response
                  parquet_operations = convert_to_parquet(builder)
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 935, in convert_to_parquet
                  builder.download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1027, in download_and_prepare
                  self._download_and_prepare(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1122, in _download_and_prepare
                  self._prepare_split(split_generator, **prepare_split_kwargs)
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1882, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 2013, in _prepare_split_single
                  raise DatasetGenerationCastError.from_cast_error(
              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 missing columns ({'subject_id'})
              
              This happened while the csv dataset builder was generating data using
              
              hf://datasets/rajpurkarlab/CXR-PRO/mimic_test_impressions.csv (at revision 4f651d4d829b90f12d836eed30b08b7619b13b2f)
              
              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.

dicom_id
string
study_id
int64
subject_id
int64
report
string
02aa804e-bde0afdd-112c0b34-7bc16630-4e384014
50,414,267
10,000,032
No acute cardiopulmonary process.
174413ec-4ec4c1f7-34ea26b7-c5f994f8-79ef1962
50,414,267
10,000,032
No acute cardiopulmonary process.
2a2277a9-b0ded155-c0de8eb9-c124d10e-82c5caab
53,189,527
10,000,032
No acute cardiopulmonary abnormality.
e084de3b-be89b11e-20fe3f9f-9c8d8dfe-4cfd202c
53,189,527
10,000,032
No acute cardiopulmonary abnormality.
68b5c4b1-227d0485-9cc38c3f-7b84ab51-4b472714
53,911,762
10,000,032
No acute intrathoracic process.
fffabebf-74fd3a1f-673b6b41-96ec0ac9-2ab69818
53,911,762
10,000,032
No acute intrathoracic process.
ea030e7a-2e3b1346-bc518786-7a8fd698-f673b44c
56,699,142
10,000,032
No acute cardiopulmonary process.
096052b7-d256dc40-453a102b-fa7d01c6-1b22c6b4
57,375,967
10,000,764
Focal consolidation at the left lung base, possibly representing aspiration or pneumonia. Central vascular engorgement.
b79e55c3-735ce5ac-64412506-cdc9ea79-f1af521f
57,375,967
10,000,764
Focal consolidation at the left lung base, possibly representing aspiration or pneumonia. Central vascular engorgement.
dcfeeac4-1597e318-d0e6736a-8b2c2238-47ac3f1b
57,375,967
10,000,764
Focal consolidation at the left lung base, possibly representing aspiration or pneumonia. Central vascular engorgement.
0c4eb1e1-b801903c-bcebe8a4-3da9cd3c-3b94a27c
50,771,383
10,000,898
No acute intrathoracic process.
2a280266-c8bae121-54d75383-cac046f4-ca37aa16
50,771,383
10,000,898
No acute intrathoracic process.
8959e402-2175d68d-edba5a6c-baab51c3-9359f700
54,205,396
10,000,898
No evidence of acute cardiopulmonary process.
9e7a6aae-2580e589-6212d336-9813ebbd-a9239a34
54,205,396
10,000,898
No evidence of acute cardiopulmonary process.
b75df1bd-0f22d631-52d73526-2ae7b85a-d843b39d
54,205,396
10,000,898
No evidence of acute cardiopulmonary process.
d0b71acc-b5a62046-bbb5f6b8-7b173b85-65cdf738
50,578,979
10,000,935
1. Low lung volumes and mild pulmonary vascular congestion unchanged. 2. Small right fissural pleural effusion. 3. No focal opacities to suggest pneumonia.
3be619d1-506a66cf-ff1ab8a1-2efb77bb-fe7d59fc
51,178,377
10,000,935
Left lung opacification which may reflect pneumonia superimposed on metastatic disease, although other etiologies such as lymphangitic pattern of metastatic spread could be considered. Ct may be helpful to evaluate further if needed clinically.
9b314ad7-fbcb0422-6db62dfc-732858d0-a5527d8b
51,178,377
10,000,935
Left lung opacification which may reflect pneumonia superimposed on metastatic disease, although other etiologies such as lymphangitic pattern of metastatic spread could be considered. Ct may be helpful to evaluate further if needed clinically.
6a5c3985-7764bdd0-ec5a6a74-af78bcaa-4ca33ec3
55,697,293
10,000,935
Chest radiograph.
c50494f1-90e2bff5-e9189550-1a4562fd-6ab5204c
55,697,293
10,000,935
Chest radiograph.
8e3f2822-0c1d4b71-2a265bbf-5b96e531-ccf5fa30
56,164,612
10,000,935
Nodular opacities within both upper lobes, left greater than right. Findings metastases, the lung bases the abdomen and pelvis day.
ad13cf84-62c34a01-a01b9e87-2581a359-83bbc046
56,164,612
10,000,935
Nodular opacities within both upper lobes, left greater than right. Findings metastases, the lung bases the abdomen and pelvis day.
6fa5997e-b1dfecf8-3c174666-8815c84a-32db59ff
56,522,600
10,000,935
null
f1adcae3-2921c0a8-5d9652f9-4191ecd7-f2a96f35
56,522,600
10,000,935
null
88498b37-c21dc7ba-bc202800-b517a62d-f7ac5bcf
58,219,844
10,000,935
Innumerable pulmonary metastases. Possible mild pulmonary vascular congestion. Low lung volumes.
6ad03ed1-97ee17ee-9cf8b320-f7011003-cd93b42d
50,985,099
10,000,980
, one _ _ _. Mild pulmonary edema and possible concurrent pneumonia cleared. Heart is top - normal size, , and pleural effusions resolved. Right hilar vessels are enlarged, perhaps due to pulmonary arterial hypertension. Lateral view shows atherosclerotic coronary calcification in the left circumflex.
6b360eca-17d2ae1a-19126084-78e9c85d-9800d216
50,985,099
10,000,980
, one _ _ _. Mild pulmonary edema and possible concurrent pneumonia cleared. Heart is top - normal size, , and pleural effusions resolved. Right hilar vessels are enlarged, perhaps due to pulmonary arterial hypertension. Lateral view shows atherosclerotic coronary calcification in the left circumflex.
943486a3-b3fa9ff7-50f5a769-7a62fcbb-f39b6da4
51,967,283
10,000,980
Right upper lobe pneumonia or mass. However, given right hilar fullness, a mass resulting in post - obstructive pneumonia is within the differential. Recommend chest ct with intravenous contrast for further assessment. Dr. _ _ _ communicated the above results to dr. _ _ _ at 8 : 55 am on _ _ _ by telephone.
96f9a77c-59b47dfb-0cac64db-6538421a-a6b135e2
54,577,367
10,000,980
No radiographic evidence for pneumonia.
cfb03587-782edf6c-1bf392e1-98196cd5-365d69e8
54,577,367
10,000,980
No radiographic evidence for pneumonia.
6ad819bb-bae74eb9-7b663e90-b8deabd7-57f8054a
54,935,705
10,000,980
Mild pulmonary edema with superimposed left upper lung consolidation, potentially more confluent edema versus superimposed infection.
8ffec5b7-419a7a3f-2bd64dc8-da23ed1e-24e1a884
54,935,705
10,000,980
Mild pulmonary edema with superimposed left upper lung consolidation, potentially more confluent edema versus superimposed infection.
a75a1fbe-802065ad-717eb7c1-e2ce3552-646276a6
54,980,801
10,000,980
No acute cardiopulmonary process.
e2c78502-fe9ea663-7f57d466-3e6a9be2-e969cabb
54,980,801
10,000,980
No acute cardiopulmonary process.
5aa15ba6-55f5e96e-39cea686-7c3b28b2-b8c97a88
57,861,150
10,000,980
Mild pulmonary edema with trace bilateral pleural effusions.
dd8af025-426084b7-b7c38b0c-436a70e0-3e650184
57,861,150
10,000,980
Mild pulmonary edema with trace bilateral pleural effusions.
54affd39-8bf24209-232bac8a-df6c277a-398ee8a5
58,206,436
10,000,980
1. Mild pulmonary edema with persistent small bilateral pleural effusions. 2. Severe cardiomegaly due to low lung volumes and patient positioning.
127f4cd5-c4f21388-b4f9168b-918534d6-308fb782
58,636,672
10,000,980
The lung volumes decreased. Signs of mild overinflation and moderate pleural effusions persist. Moderate cardiomegaly. Elongation of the descending aorta. No pneumonia.
c7526473-7b7214ee-a5d58d12-29d1f67f-9f4edf00
58,636,672
10,000,980
The lung volumes decreased. Signs of mild overinflation and moderate pleural effusions persist. Moderate cardiomegaly. Elongation of the descending aorta. No pneumonia.
57a3c797-7272b246-fa226777-e4c7d84c-91ec2e96
59,988,438
10,000,980
Tiny pleural effusions, new. Otherwise unremarkable.
925b9496-a956d7b2-05185e52-bb33313b-c06ee522
59,988,438
10,000,980
Tiny pleural effusions, new. Otherwise unremarkable.
28fad2ac-d6001216-b4f72c5b-2d4d452e-17b6c9a5
58,224,503
10,001,038
No acute intrathoracic process.
5cae71aa-99bb4662-41ef629e-7e89308c-5831ff9c
58,224,503
10,001,038
No acute intrathoracic process.
f3e86afd-437eb86e-0f9bafb8-1e0f6f96-084ac17e
58,224,503
10,001,038
No acute intrathoracic process.
8039752c-2ea661b7-16f1eafe-055b7e7b-dbd4cdd1
53,447,138
10,001,122
The lung volumes are normal. No evidence of tb or other parenchymal changes. Elevation of the left hemidiaphragm. No pleural effusions. No pneumonia. The lateral radiograph shows evidence of anterior ligament calcification at the anterior aspect of the thoracic spine. Status post cholecystectomy.
832b57d8-3ae08663-e152699e-51c5db98-b7cb4226
53,447,138
10,001,122
The lung volumes are normal. No evidence of tb or other parenchymal changes. Elevation of the left hemidiaphragm. No pleural effusions. No pneumonia. The lateral radiograph shows evidence of anterior ligament calcification at the anterior aspect of the thoracic spine. Status post cholecystectomy.
07b9ddda-9a4a1e1a-4495463d-4c77d947-ed368713
53,957,785
10,001,122
No acute cardiopulmonary abnormality.
9d0b174f-274aad16-82ecf512-e149845d-79154325
53,957,785
10,001,122
No acute cardiopulmonary abnormality.
cf25f480-4219d99b-fdd51fcb-34fc89e7-c149837f
53,957,785
10,001,122
No acute cardiopulmonary abnormality.
1fe73f8e-036bd24e-4578c891-33c1746e-864884a7
53,186,264
10,001,176
Mild perihilar prominence, suspected to represent mildly prominent pulmonary vessels without definite pneumonia. Streaky left basilar opacification seen only on the frontal view is probably due to minor atelectasis or scarring.
c0b72282-4bf7adde-cf59c475-8fd53494-bc16bc5c
53,186,264
10,001,176
Mild perihilar prominence, suspected to represent mildly prominent pulmonary vessels without definite pneumonia. Streaky left basilar opacification seen only on the frontal view is probably due to minor atelectasis or scarring.
20f28a4a-25597874-b9a79e92-d0a4a168-c4126873
54,684,191
10,001,176
Mild pulmonary edema.
3b8b1b7d-054490d5-385641e7-ff43d2c8-9505f058
54,684,191
10,001,176
Mild pulmonary edema.
ed9c0dfc-ea25b576-0f8cc069-df4cdf14-0cd60eb7
54,684,191
10,001,176
Mild pulmonary edema.
a917c883-720a5bbf-02c84fc6-98ad00ac-c562ff80
52,067,803
10,001,217
Mild left base atelectasis. Otherwise, no acute cardiopulmonary process.
ab111843-fd3b8873-93d8943f-d7618a0c-e6674193
52,067,803
10,001,217
Mild left base atelectasis. Otherwise, no acute cardiopulmonary process.
5e54fc9c-37c49834-9ac3b915-55811712-9d959d26
58,913,004
10,001,217
null
0009a9fb-eb905e90-824cad7c-16d40468-007f0038
50,225,296
10,001,401
No previous images. Nasogastric tube extends to the mid body of the stomach, be for coiling on itself so that the tip lies close to the esophagogastric junction. Optimal positioning, the to would have be pulled back almost 10 cm then hopefully redirected toward the lower stomach. Cardiac silhouette is within normal limits and there is no vascular congestion, pleural effusion, or acute focal pneumonia.
1af1b768-31250d78-0286cc9f-0950490e-f4103bcb
51,065,211
10,001,401
Mild bibasilar atelectasis. No signs of free air below the right hemidiaphragm.
8061113f-c019f3ae-fd1b7c54-33e8690d-be838099
51,065,211
10,001,401
Mild bibasilar atelectasis. No signs of free air below the right hemidiaphragm.
c74ce171-c7c53262-a7d57fa1-ee9a9bea-b5f75cb8
51,065,211
10,001,401
Mild bibasilar atelectasis. No signs of free air below the right hemidiaphragm.
0fb4f936-4101f4fa-702d001f-155c63e8-d0d6b2b6
55,350,604
10,001,401
##graphs _ _ _ through _ _ _. Heart size top - normal. Lungs grossly clear. No pleural abnormality or evidence of central lymph node enlargement.
d9db838d-4612fd1e-e45b40a9-3ea30033-26efd8e4
55,350,604
10,001,401
##graphs _ _ _ through _ _ _. Heart size top - normal. Lungs grossly clear. No pleural abnormality or evidence of central lymph node enlargement.
d69651ae-dc7bacca-a05efc02-1d5882cd-001c77c4
56,534,136
10,001,401
An enteric tube courses below the level of the diaphragm.
a83c7ff9-2d42639c-6ddebd0e-6b67809b-38210026
57,492,692
10,001,401
Ng tube in expected position with tip coiled in the stomach. Day.
19e55bee-714bb193-0968d683-5bf655a5-7b5caba9
58,747,570
10,001,401
Hilar congestion without frank edema. No convincing signs of pneumonia.
f56a3d51-284b2466-262661f1-2567a6ab-248f4ae3
58,747,570
10,001,401
Hilar congestion without frank edema. No convincing signs of pneumonia.
9fb2d581-65c0f51e-3ff2db55-6b21a902-c270ad96
59,664,767
10,001,851
No acute cardiopulmonary process.
edb88e4a-c04f1be7-aefcf3e0-8889542d-692ff7fd
59,664,767
10,001,851
No acute cardiopulmonary process.
3892f17f-8fa034e8-e9b81865-01c48bbb-b9452626
50,279,568
10,001,884
No acute cardiopulmonary process.
dcd906c2-e405c990-6e248dd6-d54558ee-fb0e4140
50,279,568
10,001,884
No acute cardiopulmonary process.
469d0d94-3dad5068-efac76ef-a28cc502-68fe6275
50,376,803
10,001,884
The endotracheal tube tip is 6 cm above the carina. Nasogastric tube tip is beyond the ge junction and off the edge of the film. A left central line is present in the tip is in the mid svc. A pacemaker is noted on the right in the lead projects over the right ventricle. There is probable scarring in both lung apices. There are no areas of consolidation. There is upper zone redistribution and cardiomegaly suggesting pulmonary venous hypertension. There is no pneumothorax.
7b25b3ed-e780a527-319cb7b3-02d5d071-f1cddee9
50,712,381
10,001,884
_ _, most _ _ _ and _ _ _. Mild pulmonary edema resolved. Moderate cardiomegaly stable. Pleural effusion, small if any. No pneumothorax. Right transjugular temporary pacer lead tip projects over the floor of the right ventricle. Et tube in standard placement. Esophageal probe ends at the level of the carina. Transesophageal drainage tube passes into the stomach and out of view.
027b8cb9-29af1bce-48a57329-6cf1fcdf-de453e37
50,807,032
10,001,884
1. No focal consolidation to suggest active infection. 2. Stable copd. 3. ##xplain mild rightward deviation of the trachea.
ebf48d65-7e780cd5-59118fba-50977097-3720cc7e
50,807,032
10,001,884
1. No focal consolidation to suggest active infection. 2. Stable copd. 3. ##xplain mild rightward deviation of the trachea.
96bfb531-d6621042-58ea2067-b155e38f-f76e305b
51,181,158
10,001,884
No acute intrathoracic process.
d5f12914-f14ffd99-3ff2ee54-6f0cbd0c-4c411a2c
51,817,555
10,001,884
Opacity over the lung bases bilaterally felt due to overlying soft tissue rather than consolidation. Lateral view may be helpful for confirmation.
8df1bc0a-1f93728a-1f356bcc-5bfe1147-ab211251
52,060,840
10,001,884
No acute cardiopulmonary process.
ee31086f-cbf22f9d-9553d506-2bcd4167-0e1e17bf
52,060,840
10,001,884
No acute cardiopulmonary process.
1e583282-042438d1-4c0d5389-f3c06b76-e9a29eaa
53,109,065
10,001,884
Mild basilar atelectasis without definite focal consolidation.
545a6de8-a04ace43-330b8a57-bd3c7ee2-3c35df44
53,109,065
10,001,884
Mild basilar atelectasis without definite focal consolidation.
9f5446a9-46ea84a3-6806d8b7-2c0f6d4d-38799159
53,268,982
10,001,884
Right middle lobe opacity concerning for pneumonia.
bd7ebb15-8c5ad4a7-1b13ce66-7d02a4bf-f8f38c98
53,268,982
10,001,884
Right middle lobe opacity concerning for pneumonia.
52d6c812-26dfed36-97e26b11-1fa88177-e8b8b150
53,880,659
10,001,884
There is hyperinflation. There is no pneumothorax, effusion, consolidation or chf. There is probable osteopenia.
6fb4d662-251b2c9f-bce3aed3-0e6b2a61-8a0a00e5
53,880,659
10,001,884
There is hyperinflation. There is no pneumothorax, effusion, consolidation or chf. There is probable osteopenia.
a6617202-f5a8661d-78eb1442-037bf3e4-3dd8967f
53,894,864
10,001,884
No acute cardiopulmonary process.
d750dd88-b22ae468-1adf0189-abe28ee0-a0ec53e9
53,894,864
10,001,884
No acute cardiopulmonary process.
4ee6a7f9-915c4c58-7dd1082b-6d03b302-aef0b6d9
54,000,534
10,001,884
No acute cardiopulmonary process, without consolidation or evidence of chf.
e321c955-4712586a-94ec15c6-07be7aa1-d875568d
54,000,534
10,001,884
No acute cardiopulmonary process, without consolidation or evidence of chf.
3fc658da-23a5d1b2-68e913fd-bf919f75-b7113290
54,369,281
10,001,884
No acute cardiopulmonary abnormality.
82c84173-71ed7fac-3f8d7532-a4e5095e-6db87046
54,369,281
10,001,884
No acute cardiopulmonary abnormality.
112a33d1-0217c1be-710ee746-aaacee7c-f7bf92e3
54,579,606
10,001,884
No acute intrathoracic process.
7f23b996-22544258-fcf2fbc3-f8dbf8e7-b6c0e4c5
54,579,606
10,001,884
No acute intrathoracic process.
7561a64e-145a404e-f12d8f04-3b19c4e1-3de6e5a0
54,828,594
10,001,884
No acute cardiopulmonary abnormality.
d1cdd125-53a6cbd6-601d5e41-ed49f604-9a580d96
54,828,594
10,001,884
No acute cardiopulmonary abnormality.
02e759a5-72ab444e-581216c8-af8fea64-8b1a744b
55,333,410
10,001,884
No acute findings. Top - normal heart size.
5b135035-4708084f-3bb6d230-9db72889-2aa90c14
55,333,410
10,001,884
No acute findings. Top - normal heart size.
4c3fdd2f-79be0bc9-f5a0ed41-3c9dc58e-75a6d19a
55,893,591
10,001,884
No evidence of pneumonia. No acute cardiopulmonary process.
8d4eb7a8-0d3c4f7e-fed33834-ef1c6ffd-e01d0967
55,893,591
10,001,884
No evidence of pneumonia. No acute cardiopulmonary process.
e59ad2c0-255eb7ad-933f2ba8-6bf37730-3ca4bed2
56,308,417
10,001,884
Subtle opacity in the right lower lobe could represent atelectasis or infection in the appropriate setting.
End of preview.
YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co./docs/hub/datasets-cards)

CXR-PRO contains the following files:

.
├── cxr.h5
├── mimic_train_impressions.csv
└── mimic_test_impressions.csv

The contents of each file are outlined below:

cxr.h5: The subset of MIMIC-CXR chest radiographs used for MIMIC-PRO, saved in Hierarchical Data Format (HDF). mimic_train_impressions.csv: A compilation of the impressions section of each radiology report in the MIMIC-PRO dataset, with references to priors removed. Additional fields include dicom_id, study_id, and subject_id (which refer users to the chest radiograph associated with a given impressions section). mimic_test_impressions.csv: The expert-edited test set, as described in the Methods section of MIMIC-PRO's documentation on PhysioNet.

Downloads last month
15