There isn’t a ladybug method that does this at this point. The closest thing would be Ladybug’s EPW module which has many useful properties and methods for interacting with the epw (converting from SI to IP, getting extreme, typical weeks etc). .
You could convert that into a dataframe like this (someone can correct me if there’s a more pythonic way to do this):
from ladybug.epw import EPW
from pandas import DataFrame
from collections import OrderedDict
#Path to epw file.
epwCls=EPW(r"assets/mannheim.epw")
epwDataList=epwCls.to_dict()['data_collections']
epwDataDict=OrderedDict()
for dataCol in epwDataList:
dataName=dataCol['header']['data_type']['name']
epwDataDict[dataName]=dataCol['values']
epwDataFrame=DataFrame(epwDataDict)
Then this will give you the list of available hourly datasets:
#print all available columns
print(epwDataFrame.columns)
…and something like this will let you access individual datasets.
#Print dry bulb temperature
print(epwDataFrame["Dry Bulb Temperature"])
You can refine it further by creating a timeseries for the first column and specifying that as a date type.