Time Series Forecasting, Fourier, Ensemble Method, Data Science, Signal Processing.
0.0 0.0 0.0 1.0 1957Q1 1.0 0.0 0.0 0.0 ... ... ... ... ... 2013Q1 1.0 0.0 0.0 0.0 2013Q2 0.0 1.0 0.0 0.0 2013Q3 0.0 0.0 1.0 0.0 2013Q4 0.0 0.0 0.0 1.0 2014Q1 1.0 0.0 0.0 0.0 [233 rows x 4 columns] If you want to use dummy encoding instead, simply drop one column. Also explore the drop=True option