# Add Time Series Data Example to Flower

**URL:** <https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641>\
**Category:** Example Projects\
**Tags:** example\
**Created:** [January 28, 2025, 1:59pm UTC](https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641 "2025-01-28T13:59:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamlm](https://dub1.discourse-cdn.com/flex013/user_avatar/discuss.flower.ai/williamlm/32/162_2.png) [@williamlm](https://discuss.flower.ai/u/williamlm)\
**Post date:** [January 28, 2025, 1:59pm UTC](https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641/1 "2025-01-28T13:59:03Z")

</div>

It would be beneficial to include a dedicated example in Flower demonstrating Federated Learning (FL) for time series data. Time series is a crucial data type in various domains, such as finance, healthcare, IoT, and energy systems.

This example could be made general or tailored to a specific domain (e.g. by using a specific dataset for example). Example datasets can be found on [HuggingFace](https://huggingface.co/) or [UCI](https://archive.ics.uci.edu/datasets?skip=0&take=10&sort=desc&orderBy=NumHits&search=&Types=Time-Series).

This would be a great contribution to the Flower framework for anyone who is interested to open a PR. The Flower team will help you throughout the process to successfully merge an example and gain respect from the open-source community.

---

<div class="post-metadata">

**Author:** ![sarah](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sarah](https://discuss.flower.ai/u/sarah)\
**Post date:** [November 28, 2025, 5:25pm UTC](https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641/2 "2025-11-28T17:25:14Z")

</div>

Hi, I’m using Flower for our time-series forecasting research project and I have a working example with a HuggingFace dataset. What I currently look into is the data partitioning in combination with the slicing of data in temporal windows that is often required for time series algorithms, especially for neural network based ones.

In case you still want to include such an example please let me know.

---

<div class="post-metadata">

**Author:** ![williamlm](https://dub1.discourse-cdn.com/flex013/user_avatar/discuss.flower.ai/williamlm/32/162_2.png) [@williamlm](https://discuss.flower.ai/u/williamlm)\
**Post date:** [December 1, 2025, 12:14pm UTC](https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641/3 "2025-12-01T12:14:43Z")

</div>

Hi @sarah , great to see your reply here.

We’d love to see such implementation and I’d be happy to review the pull request/code example. An initial example would not need to be too extensive and can also come to be updated, thus if you’d like - feel free to initially submit the working code example for review.

Are you familiar with the GitHub PR process? If not, I’m happy to schedule a brief call to go over it.

Best regards,

William

---

<div class="post-metadata">

**Author:** ![sarah](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sarah](https://discuss.flower.ai/u/sarah)\
**Post date:** [December 2, 2025, 6:45pm UTC](https://discuss.flower.ai/t/add-time-series-data-example-to-flower/641/4 "2025-12-02T18:45:14Z")

</div>

Hi @williamlm ,

Thank you for your message and for offering to review the implementation! I’ll prepare an initial working example to submit it as a pull request soon. I appreciate the flexibility to start with something simple and iterate from there.

I’m a Git user but I’m not very familiar with the GitHub PR process, so I’d appreciate some instructions or a brief call to go over it. Please let me know what works best for you.

All the best,  
Sarah
