Closed jftsang closed 3 years ago
Currently, the whole file is read even if you only need a selection of lines, unless they are the first few. That's because the whole file is read and then shuffle'd.
Using pd.read_csv is mucch faster.
Currently, the whole file is read even if you only need a selection of lines, unless they are the first few. That's because the whole file is read and then shuffle'd.