Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
import pandas as pd data = [[1.1235, 1.9654, 2.6874], [6.5124, 4.2210, 2.2899]] df = pd.DataFrame(data) print(df.round(1))
0 1 2 0 1.1 2.0 2.7 1 6.5 4.2 2.3