Python Forum
pandas: assemble data to have samples - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/Forum-Python-Coding)
+--- Forum: Data Science (https://python-forum.io/Forum-Data-Science)
+--- Thread: pandas: assemble data to have samples (/Thread-pandas-assemble-data-to-have-samples)



pandas: assemble data to have samples - sdcompanies - Jan-11-2018

Hello to all,
I'm new here, and I admit I'm a newbie about Pandas library.

I'm looking around, and also I read some good books (like this one) but I've not yet succeed to do the following operation.

I want to create a sample by data of each month from this database
So I want to plot/hist average values for each month, considering data for each year.
Finally I need a DataFrame like:
0 value_a
1 value_b
...
11 value_x

where values are the average of data on three years.

Thanks for who wants to help


RE: pandas: assemble data to have samples - sdcompanies - Jan-19-2018

No one can help me?


RE: pandas: assemble data to have samples - Larz60+ - Jan-19-2018

What have you tried so far, post your code, and show where you are having problems.
If you haven't any code and don't know where to begin, start here: http://nbviewer.jupyter.org/urls/bitbucket.org/hrojas/learn-pandas/raw/master/lessons/01%20-%20Lesson.ipynb