Closed
Description
Brief Description
I was thinking of a function that would either convert stock symbols to company names or create a new column of company names based on stock symbols from a different column, The only issue would be to find a stable site or api that would provide the company names in return for stock symbols and handling errors when you weren't connected to the internet.
Example API
def stock_to_name(df, symbol_column_name):
Before
Stock
F
O
GE
Stock2Name(DF.Stock)
Stock
Ford
Realty Income
General Motors.