Run ❯
Get your
own Python
server
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = { "age": [50, 40, 30, 40, 20, 10, 30], "qualified": [True, False, False, False, False, True, True] } df = pd.DataFrame(data) newdf = df.add_suffix("_data") print(newdf)
age_data qualified_data 0 50 True 1 40 False 2 30 False 3 40 False 4 20 False 5 10 True 6 30 True