meh headers, vanta

main
Jeff Moe 2022-05-27 13:28:45 -06:00
parent c9cb57efaa
commit 52ca1f4da7
1 changed files with 3 additions and 4 deletions

View File

@ -28,12 +28,11 @@
import numpy as np
import pandas as pd
df = pd.read_csv('examples/olympus-vanta.csv', header = None,
skiprows=40, usecols = [0, 1])
# skiprows=40, usecols = [0, 1, 2, 3, 4, 5, 6])
# XXX
df = pd.read_csv('examples/olympus-vanta.csv', header = 0,
skiprows=[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40], usecols = [0, 1])
with pd.option_context('display.max_rows', None,
'display.max_columns', None
):
print(df)