Skip to content

Instantly share code, notes, and snippets.

@kevindavenport
Last active July 21, 2021 18:51
Show Gist options
  • Star 28 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save kevindavenport/ba71208cf06996d17d2b723f121a52bf to your computer and use it in GitHub Desktop.
Save kevindavenport/ba71208cf06996d17d2b723f121a52bf to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@evanmiller29
Copy link

Hey mate, absolutely loving the post.

I'm just following through for my own benefit, but found it difficult to follow past the first few steps as the data from the UCI repository isn't the same as what you're using here.
That's cool, but maybe you could include a couple steps for people like me? I've written what I used to solve this problem..

  1. Download from UCI library bank-additional.zip
  2. Extract
  3. Input into Pandas using (the data isn't comma separated..):
    data = pd.read_csv('bank-additional.csv', sep=';')

Cheers, keep up the good work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment