example of the column in the data set.
budget
$45 million
$20 - 90 million
$450,000
My attempt was by using .lstrip
dfc = df['Budget'].str.lstrip('$')
Ended up with the column looking like this.
Budget
45
2090
450000
example of the column in the data set.
budget
$45 million
$20 - 90 million
$450,000
My attempt was by using .lstrip
dfc = df['Budget'].str.lstrip('$')
Ended up with the column looking like this.
Budget
45
2090
450000