I have a time series of data for the whole year, which I need to run the analysis on Python. However, it takes a long time to run the model. I want to select a subset of data that can represent the full data (like 30 days instead of 365 days). My data have 8760 rows (hourly) and 4899 columns. What is the best method to select the subset of data?

  • $\begingroup$ IMO, your computation issues are arising from the number of columns, and not the number of rows (i.e. the amount of time periods). What do the columns represent in your data? $\endgroup$
    – aranglol
    Commented Apr 4 at 2:46
  • $\begingroup$ The columns represent the number of loads (my data is the time series of loads on the power grid). $\endgroup$ Commented Apr 5 at 3:47


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.