I tried to search for a similar problem but I don’t see any that’s related to mine, since most that I see are more complex than mine.
The code below is taken from my code. This block formats these float64 columns to 2 decimal places but rows 24-26 really won’t change.
nlf.iloc[:, 14] = nlf.iloc[:, 14].round(2) # costs column
nlf.iloc[:, 20] = nlf.iloc[:, 20].round(2) # Stores column
nlf.iloc[:, 21] = nlf.iloc[:, 21].round(2) # SRP column
nlf.iloc[:, 22] = (nlf.iloc[:, 22] * 100).round(2) # GP% column
nlf.iloc[:, 23] = nlf.iloc[:, 23].round(2) # Weight column
nlf.iloc[:, 24] = nlf.iloc[:, 24].round(2) # Height column
nlf.iloc[:, 25] = nlf.iloc[:, 25].round(2) # Width column
nlf.iloc[:, 26] = nlf.iloc[:, 26].round(2) #Depth column