A ladybug extension powered by pandas
pip install ladybug-pandas
import ladybug_pandas as lbp
from ladybug.epw import EPW
epw_path = 'tests/assets/epw/tokyo.epw'
epw = EPW(epw_path)
df = lbp.DataFrame.from_epw(epw)
df_ip = df.ladybug.to_ip()
You can also find some usage examples in the examples folder of the code repository.
- Clone this repo locally
git clone git@github.com:ladybug-tools/ladybug-pandas
# or
git clone https://github.com/ladybug-tools/ladybug-pandas
- Install dependencies:
cd ladybug-pandas
pip install -r dev-requirements.txt
pip install -r requirements.txt
- Run Tests:
python -m pytest tests/
- Generate Documentation:
sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_pandas
sphinx-build -b html ./docs ./docs/_build/docs