---
title: "Discussion on \"Summarise Time Series data with the DataFrame.resample function\" | Hashnode"
description: "Discussion on \"Summarise Time Series data with the DataFrame.resample function\". ❌ Don't think of a for loop if you want to summarise your daily Time Series by years.\n✅ Instead, use the function resample() from pandas.\nLet me explain it with an example.\nWe start by loading a DataFrame from a CSV file that contains information on ..."
url: "https://hashnode.com/posts/summarise-time-series-data-with-the-dataframeresample-function/63638a7afff87bef38364ca6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Summarise Time Series data with the DataFrame.resample function](https://blog.resolvingpython.com/summarise-time-series-data-with-the-dataframeresample-function?utm_source=hashnode&utm_medium=feed)

❌ Don't think of a for loop if you want to summarise your daily Time Series by years. ✅ Instead, use the function resample() from pandas. Let me explain it with an example. We start by loading a DataFrame from a CSV file that contains information on ...

Nov 3, 2022 · 2 min read · blog.resolvingpython.com  
Updated Jun 20, 2023  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#pandas](https://hashnode.com/tag/pandas)
-   [#stockmarket](https://hashnode.com/tag/stockmarket)
-   [#data-analysis](https://hashnode.com/tag/data-analysis)
-   [#data-science](https://hashnode.com/tag/data-science)

## Written by

[Jesús López](https://hashnode.com/@jsulopzs)

@jsulopzs · Madrid, Spain

  
[View profile](https://hashnode.com/@jsulopzs)

Python + Data Science Coach, Consultant & Advisor

I coach people to develop the Resolving Discipline that turns them into independent programmers.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
