Код: Выделить всё
reportingDatesDf
Код: Выделить всё
unique_stock_id reporting_type
date
2015-01-28 BBG.MTAA.STM.S 2014:A
2015-01-28 BBG.MTAA.STM.S 2014:S2
2015-01-28 BBG.MTAA.STM.S 2014:Q4
2014-10-29 BBG.MTAA.STM.S 2014:C3
2014-10-29 BBG.MTAA.STM.S 2014:Q3
Код: Выделить всё
reportingDatesDf = reportingDatesDf[(reportingDatesDf.index >= startDate) and (reportingDatesDf.index = startDate) and (reportingDatesDf.index
Подробнее здесь: [url]https://stackoverflow.com/questions/36901163/dataframe-valueerror-the-truth-value-of-an-array-with-more-than-one-element-is[/url]