-1

I have a DataFrame with a column of prices in USD and want to convert them to EUR. Yet, I coded a function which supplies the quotation as a return, now I don't know how to multiply all entries in the DataframeColumn by the quotation.

NW0910
  • 1
  • 4

1 Answers1

3
df['usd'] = df['usd'] * coefficient
Alexandra Dudkina
  • 4,302
  • 3
  • 15
  • 27