I currently have a Pandas DataFrame which contains a time series of asset prices and a column containing a "state". There are three states -1, 0, 1 that occur at vario