从Quandl的API返回的数据框是
Date Open High Low Last Close Total Trade Quantity Turnover (Lacs)
2017-01-02 138.50 138.65 136.10 137.90 137.65 152058.0 208.16
2017-01-03 138.85 141.95 137.35 140.00 139.55 608841.0 850.47
2017-01-04 141.50 142.90 140.00 141.20 140.90 327354.0 463.11
2017-01-05 141.45 142.40 139.10 140.00 140.00 404074.0 566.69
max=quandl.get('NSE/ABFRL', start_date='2017-01-02', end_date='2017-02-03'
使用语法时
max.Total Trade Quantity
程序抛出语法错误,这很可能是由于“总交易量”之间的空格所致。谁能建议我如何在python中访问总交易量和交易额(lacs)