how to multiply integer value with float values in python

Solutions on MaxInterview for how to multiply integer value with float values in python by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "how to multiply integer value with float values in python"
Giorgia
23 Feb 2020
1df['new_column'] = (int_value) * (df['old_column'].values)
2example:
3df['weight'] = (0.2)* (df['rank'].values)