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 = [[10, 20, 0], [10, 10, 10], [10, 20, 30]] df = pd.DataFrame(data) print(df.nunique())
0 1 1 2 2 3 dtype: int64