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 data = [[5, 6, 7], [2, 6, 9]] df = pd.DataFrame(data) print(df.cov())
0 1 2 0 4.5 0.0 -3.0 1 0.0 0.0 0.0 2 -3.0 0.0 2.0