skrub.datasets.fetch_medical_charge(*, load_dataframe=True, data_directory=None)[source]#

Fetches the medical charge dataset (regression), available at

Description of the dataset:

The Inpatient Utilization and Payment Public Use File (Inpatient PUF) provides information on inpatient discharges for Medicare fee-for-service beneficiaries. The Inpatient PUF includes information on utilization, payment (total payment and Medicare payment), and hospital-specific charges for the more than 3,000 U.S. hospitals that receive Medicare Inpatient Prospective Payment System (IPPS) payments. The PUF is organized by hospital and Medicare Severity Diagnosis Related Group (MS-DRG) and covers Fiscal Year (FY) 2011 through FY 2016.


If load_dataframe=True


If load_dataframe=False