Answers for "how to multiply integer value with float values in python"

0

how to multiply integer value with float values in python

df['new_column'] = (int_value) * (df['old_column'].values)
example:
df['weight'] = (0.2)* (df['rank'].values)
Posted by: Guest on June-28-2021

Code answers related to "how to multiply integer value with float values in python"

Python Answers by Framework

Browse Popular Code Answers by Language