Error: The truth value of a series is ambiguous. Python & Pandas
问题 I'm trying to identify all the options contracts for MSFT and GOOG that have over 10,000 in volume for the day and to print out the name of the symbol.I am getting the error "The truth value of a series is ambiguous.Use a.empty, a.bool(), a.item(), a.any() or a.all()." The error is on line 13. Any help is greatly appreciated. from pandas_datareader.data import Options import pandas as pd from pandas import DataFrame import datetime tickers = ['GOOG','MSFT'] for i in tickers: option = Options