Given the following data frame:
import pandas as pd
df=pd.DataFrame({'A':['$0-$20','$20+']})
df
A
0 0−20
1 $20+
How can I get the first value (0-20) to display with the dollar signs, as I originally specified? It actually displays the zero in a strange font and I'm not sure why it works for "$20+" but not "$0-"$20".
I've tried:
df=pd.DataFrame({'A':[str('$0-$20'),'$20+']})
...but no dice.
Here's specifically what I get:
I'm using the Jupyter notebook (Anaconda 3, Python 3.5) Thanks in advance!