import yfinance as yf
import pandas as pd
import datetime
import pandas_datareader.data as web
# start and end dates
from pandas import Int64Index
start = datetime.date(2020, 9, 17)
end = datetime.date(2021, 9, 16)
# output dataframe from YahooFinance
dFrame = web.DataReader('ADA-USD', 'yahoo', start, end)
pd.options.display.width = 0
pd.set_option("display.max_rows", 2000)
print(dFrame)
I need to be able to get the Close prices for Ada-Cardano between $0.10 and $1.00. How do I do that? I tried a for loop with and if statement but didn't seem to work.