Skip to content

Instantly share code, notes, and snippets.

@marcopeix
Created August 6, 2019 17:17
Show Gist options
  • Save marcopeix/e47aa98a60655d0bcad753bb5bf78d1b to your computer and use it in GitHub Desktop.
Save marcopeix/e47aa98a60655d0bcad753bb5bf78d1b to your computer and use it in GitHub Desktop.
data = data[data.TICKER != 'GEF']
data = data[data.TYPE != 'Intraday']
drop_cols = ['SPLIT_RATIO', 'EX_DIVIDEND', 'ADJ_FACTOR', 'ADJ_VOLUME', 'ADJ_CLOSE', 'ADJ_LOW', 'ADJ_HIGH', 'ADJ_OPEN', 'VOLUME', 'FREQUENCY', 'TYPE', 'FIGI']
data.drop(drop_cols, axis=1, inplace=True)
data.head()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment