I have a df called 'XLK':
Market Cap PE
AAN 3.25B 23.6
AAPL 819.30B 18.44
ACFN 6.18M 2.1
ACIW 2.63B 103.15
I just want the market cap for values > 100 million, so expected output is:
Market Cap PE
AAN 3.25B 23.6
AAPL 819.30B 18.44
ACIW 2.63B 103.15
I've tried converting the letters to the appropriate 0's with no success:
XLK['Market Cap'].replace('M','000000')
XLK.drop[XLK_quote['Market Cap'] < '100M'].index