Skip to content

Instantly share code, notes, and snippets.

Last active October 10, 2020 13:14
What would you like to do?
# Check first five columns in matrix.csv
#!cut -d, -f-5 matrix.csv | head
# Import data with Bash command discarding first column
matrix = dt.fread(cmd='cut -d, -f2- matrix.csv',
header=True, sep=',', columns=dt.int32) # ~7 GB (76533, 50281)
# Import metadata
metadata = pd.read_csv('metadata.csv')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment