Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Price preprocessing | Predict the release clause of FIFA 2019 players
Predict the release clause of FIFA 2019 players
course content

Зміст курсу

Predict the release clause of FIFA 2019 players

Price preprocessing

Завдання

Create a function price2int that takes string price as an input. price contains currency sign, the amount of money (number), and the letter K or M. Return the amount of money*1000 if the last letter is K or the amount of money*1000000 if the last letter is M. We also have NaNs in these rows. Return 0 if there is no letter K or M in the input price string.

Завдання

Create a function price2int that takes string price as an input. price contains currency sign, the amount of money (number), and the letter K or M. Return the amount of money*1000 if the last letter is K or the amount of money*1000000 if the last letter is M. We also have NaNs in these rows. Return 0 if there is no letter K or M in the input price string.

Mark tasks as Completed
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів

Все було зрозуміло?

Завдання

Create a function price2int that takes string price as an input. price contains currency sign, the amount of money (number), and the letter K or M. Return the amount of money*1000 if the last letter is K or the amount of money*1000000 if the last letter is M. We also have NaNs in these rows. Return 0 if there is no letter K or M in the input price string.

Mark tasks as Completed
Перейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 1. Розділ 4
AVAILABLE TO ULTIMATE ONLY
We're sorry to hear that something went wrong. What happened?
some-alt