Skip to content

Instantly share code, notes, and snippets.

@ycui1
Created October 13, 2021 02:35
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 ycui1/1e86af2e15039a1e0f48c18134c0c656 to your computer and use it in GitHub Desktop.
Save ycui1/1e86af2e15039a1e0f48c18134c0c656 to your computer and use it in GitHub Desktop.
>>> import pandas as pd
>>> df0 = pd.DataFrame({"a": [1, 2, 3], "b": [4, 5, 6]})
>>> df0
a b
0 1 4
1 2 5
2 3 6
>>> df1 = pd.DataFrame({"c": [2, 3, 4], "d": [5, 6, 7]})
>>> df1
c d
0 2 5
1 3 6
2 4 7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment