dirty_cat.datasets.fetch_medical_charge

dirty_cat.datasets.fetch_medical_charge(load_dataframe=True, directory=None)[source]

Fetches the medical charge dataset (regression), available at https://openml.org/d/42720

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.

Returns:
DatasetAll

If load_dataframe=True

DatasetInfoOnly

If load_dataframe=False