Using LB data collection python functions

Hi all,

I’m having trouble using extracting the average monthly values from a daily data collection using one of the commands linked below.
https://www.ladybug.tools/ladybug/docs/ladybug.datacollection.html#ladybug.datacollection.DailyCollection.average_monthly

The output is just IronPython.Runtime.Method. See the screenshot below

Any ideas what I’m doing wrong?

Hi @jroberts are you able to share your file or a smaller script that duplicates the issue?

Hi @jroberts ,

As it shows in the output message there, the average_monthly is a method, not an attribute or a property. So you just need to call it by including a () after the name:

5 Likes