To import dataset from .dat

Question/Issue: How can I import .dat format dataset?

Project ID:

Context/Use case: I am working on an AF detection project, so I’m trying to use the standard MIT-BIH datasets, but they are in .dat format. Any help??

1 Like

Hello,

Maybe you can find some inspiration in this script. I think it is tested on MIT-BIH-Arrythmia dataset. This script converts dat to CSV using pandas. Based on this, you can write a small script to translate dat to csv in the file structure which can be imported into EI studio.
Check also

Regards,
Joeri

2 Likes

Thank you @Joeri for the help. But as I stuck to my screen and scrolled webpages for hours, I found PhysioBank ATM (physionet.org) - This allows us to access and download the MIT-BIH datasets in .csv format.

Thanks.