Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 116 Bytes

pandas_fu.md

File metadata and controls

2 lines (2 loc) · 116 Bytes

Reading a random subset of a huge file

df = pd.read_csv('file.csv', skiprows = n > 0 and np.random.rand() > 0.01)