Skip to content

Commit 1f51097

Browse files
committed
fix(industry): correct typo in column names
Fix incorrect column names in Industry._parse_top_growth_companies by removing an accidental leading space from 'growth estimate' and 'last price'
1 parent bc67252 commit 1f51097

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
@@ -118,7 +118,7 @@ def _parse_top_growth_companies(self, top_growth_companies: Dict) -> Optional[_p
118118
Returns:
119119
Optional[pd.DataFrame]: DataFrame containing parsed top growth companies data.
120120
"""
121-
compnaies_column = ['symbol','name','ytd return',' growth estimate']
121+
compnaies_column = ['symbol','name','ytd return','growth estimate']
122122
compnaies_values = [(c.get('symbol', None),
123123
c.get('name', None),
124124
c.get('ytdReturn',{}).get('raw', None),

0 commit comments

Comments
 (0)