There are as many as 1440 files in one directory to be read with Python. File names have a pattern as
HMM_1_1_.csv
HMM_1_2_.csv
HMM_1_3_.csv
HMM_1_4_.csv
...
and for HMM_i_j_.csv
, i
goes from 1 to 144 and j
goes from 1 to 10.
How can I import each of them into a variable named HMM_i_j
similar to its original name?
For instance, HMM_140_8_.csv
should be imported as variable HMM_140_8
.