Using DONUT algorithm with keras
How does your timestamp look like? Apparently there are too many dimensions.

When using pandas DataFrames you could pass the .index (in case it's no multiindex) or just np.arange(len(&lt;your_data&gt;)) as timestamps.