Skip to content

Commit 3e9c308

Browse files
danchevCopilot
andauthored
fix(industry): correct 'last price' column name
Fixed leading whitespace. Co-authored-by: Copilot <[email protected]>
1 parent 93af397 commit 3e9c308

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yfinance/domain/industry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def _parse_top_performing_companies(self, top_performing_companies: Dict) -> Opt
9696
Returns:
9797
Optional[pd.DataFrame]: DataFrame containing parsed top performing companies data.
9898
"""
99-
companies_column = ['symbol','name','ytd return',' last price','target price']
99+
companies_column = ['symbol','name','ytd return','last price','target price']
100100
companies_values = [(c.get('symbol', None),
101101
c.get('name', None),
102102
c.get('ytdReturn',{}).get('raw', None),

0 commit comments

Comments
 (0)