Screen Link: Learn data science with Python and R projects
My Code:
unique_ram = laptops["ram"].str.replace("GB","").unique()
What I expected to happen:
Passed
What actually happened:
Value of laptops is not what we expected.
One of your variables doesn't seem to have the correct value. Please re-check the instructions and your code.
While the answer saying this..
laptops["ram"] = laptops["ram"].str.replace('GB','')
unique_ram = laptops["ram"].unique()