« * K @lernerpython.com

Reuven M. Lerner @lernerpython.com

2026-11-10 16:30 UTC

There are tons of config options in #Python #Pandas. Set them with pd.set_option: pd.set_option('display.precision', 2) Now floats in a series or data frame will have 2 digits after the decimal. Retrieve the value with "get_option": pd.get_option('display.precision')

1 picture (not shown on this phone)

3 likes, 0 reposts, 0 replies

3 Next post4 More from @lernerpython.comBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup