Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
import pandas as pd data1 = { "name": ["Sally", "Mary", "John", "Mary"], "age": [50, 40, 30, 40] } df1 = pd.DataFrame(data1) data2 = { "name": ["Sally", "Mary", "John", "Mary"], "age": [50, 40, 30, 40] } df2 = pd.DataFrame(data2) print(df1.equals(df2))
True