I import a document to jupiter and enter normal with whole numbers, I apply a formula to group, add and then subtract and the product leaves all the numbers with decimals and exponentials.
How do I get only whole numbers ???
::::::: attached code ::::::::::
mydataset_df.head(10)
cond1_df = (
mydataset_df
.groupby(["move_id/id"], as_index=False)
.sum()
.assign(
balance=lambda row: row.credit - row.debit
)
.assign(
resultado=lambda row: row.balance < -0.000001
)
)
cond1_df.head()