Skip to content

Instantly share code, notes, and snippets.

@kvnkho
Created May 8, 2021 15:14
Show Gist options
  • Save kvnkho/4afa9eff8a288a4bb17ff56494a865f6 to your computer and use it in GitHub Desktop.
Save kvnkho/4afa9eff8a288a4bb17ff56494a865f6 to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.DataFrame({'State': ['FL','FL','FL','CA','CA','CA'],
'City': ['Tampa', 'Orlando', 'Miami', 'Oakland', 'San Francisco', 'San Jose'],
'Price': [8, 12, 10, 16, 20, 16]})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment