What is the proper way to extract a single column from downloaded option_chain from yahoo_fin? My code for EXXON MOBILE option chains:
from yahoo_fin import options
import pandas as pd
from IPython.display import display, HTML
df = options.get_options_chain("XOM")
pd.set_option('display.max_columns', None)
display(df)
display_max_columns does not work either.
Anyway I tried doing some numerical and name extractions, but it did not work out at all. any ideas?