Skip to content

Commit

Permalink
update finviz pandas read html
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankvemuri committed Jan 4, 2024
1 parent b5a2ddc commit 8049e1f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions find_stocks/finviz_growth_screener.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ def growth_screener():

# Get the second last table from the HTML page which contains the stock data.
stocks = pd.read_html(str(html))[-2]
stocks.columns = stocks.iloc[0]
stocks = stocks[1:]
stocks = stocks.set_index('Ticker')
frames.append(stocks)

Expand Down

0 comments on commit 8049e1f

Please sign in to comment.