How to solve this Pandas and PanelOLS indexing problem

11 Views Asked by At

enter image description here

I have trouble sending my data frame to panelOLS model. the dataframe didn't using any column as index

then it returns an error massage: ValueError: Series can only be used with a 2-level MultiIndex

Doeas that mean I need to use double index and use datetime type as my indices?

0

There are 0 best solutions below