Skip to content

Instantly share code, notes, and snippets.

@chrishop
Created October 9, 2019 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrishop/64fa7c7c991537a64c6f420d26b8dca2 to your computer and use it in GitHub Desktop.
Save chrishop/64fa7c7c991537a64c6f420d26b8dca2 to your computer and use it in GitHub Desktop.
def read_data(path, useful_columns: List[str]) -> pd.DataFrame:
return tidy_column_names(keep_useful_columns(pd.read_excel(path, usecols=columns_to_keep)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment