A curated collection of cardiovascular, clinical trial, and heart disease datasets for data analysis, statistical modeling, and machine learning research. Includes cardiac arrest risk evaluations, UCI Cleveland heart disease database subsets, Framingham 10-year coronary risk factors, 1D ECG time-series signals for regression, cardiac biomarkers (CK-MB, troponin), hospital performance metrics, and regional risk assessments from Kaggle sources.
Project description
pycardio
The pycardio package provides a curated collection of cardiovascular, clinical trial, and heart disease datasets for data analysis, statistical modeling, and machine learning research. Includes cardiac arrest risk evaluations, UCI Cleveland heart disease database subsets, Framingham 10-year coronary risk factors, 1D ECG time-series signals for regression, cardiac biomarkers (CK-MB, troponin), hospital performance metrics, and regional risk assessments from Kaggle sources.
Installation
You can install the pycardio package from PyPI:
pip install pycardio
Usage
import pycardio as pcd
# List all available datasets
datasets = pcd.list_datasets()
print(datasets)
# Load a specific dataset
df = pcd.load_dataset('cardiac_arrest')
print(df.head())
# Describe dataset
df_01 = pcd.describe('cardiac_arrest')
print(df_01)
Some Available Datasets
| Dataset | Description |
|---|---|
cardiac_arrest |
Clinical and demographic data from the UCI repository for cardiac arrest risk evaluation and predictive modeling. |
heart_patients |
Contains 1,025 patient records with cardiac health attributes such as age, sex, chest pain type, and resting blood pressure. |
heart_healthcare |
Features 76 clinical attributes (14 commonly used) from the Cleveland database for heart disease presence classification. |
Run
pycardio.list_datasets()orpcd.list_datasets()(usingpcdas alias) to see the full list of available datasets.
Disclaimer
The datasets included in pycardio are provided strictly for educational,
research, and informational purposes. All datasets originate from open Kaggle sources
and retain their original licenses and attributions.
The author of pycardio makes no warranties, express or implied, regarding
the accuracy, completeness, or suitability of any dataset for a particular purpose.
Users are solely responsible for ensuring that their use of these datasets complies
with applicable laws, regulations, and ethical guidelines.
Any findings, conclusions, or decisions derived from the use of these datasets are the sole responsibility of the user. The author shall not be held liable for any direct, indirect, incidental, or consequential damages arising from the use or misuse of the datasets included in this library.
For clinical, diagnostic, or any medical decision-making purposes, always consult a qualified healthcare professional or cardiologist.
License
The pycardio library is released under the MIT License, which allows for open use, modification, and distribution.
See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pycardio-0.1.0.tar.gz.
File metadata
- Download URL: pycardio-0.1.0.tar.gz
- Upload date:
- Size: 792.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6730df52acf5c3a5930526fe32f905653a701cf90f7bb66878c60e094af7bea
|
|
| MD5 |
183545b7aeca9eecb3fd8ab435c57a5b
|
|
| BLAKE2b-256 |
73d8f103bbcd0a6ca0cebbaa27f78aca3344348bec033f81b2678f15ab9a268a
|
File details
Details for the file pycardio-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pycardio-0.1.0-py3-none-any.whl
- Upload date:
- Size: 812.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29c6d1f87bbd83d93a1821ed4e0544ce0788ffd452c77fe70699615e92d52979
|
|
| MD5 |
b2461ca95626e74a87ac4442a2281345
|
|
| BLAKE2b-256 |
8410087ececb4aa03ff65118f41a2628b1933e3f61458ac7e834cc42aaabc67e
|