Skip to content

Instantly share code, notes, and snippets.

@Mgancita
Created February 13, 2022 19:51
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 Mgancita/23d83e7f77d782557ea954dd481e3b46 to your computer and use it in GitHub Desktop.
Save Mgancita/23d83e7f77d782557ea954dd481e3b46 to your computer and use it in GitHub Desktop.
import pandas as pd
df = pd.DataFrame({'A': [1, 2, 3, 4], 'B': [5, 6, 7, 8], 'C': [9, 10, 11, 12]})
df.head()
# A B C
# 0 1 5 9
# 1 2 6 10
# 2 3 7 11
# 3 4 8 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment