ladybug-pandas

A ladybug extension powered by pandas


Keywords
dataframe, pandas, python
License
AGPL-3.0
Install
pip install ladybug-pandas==0.4.0

Documentation

Python 3.6

ladybug-pandas

A ladybug extension powered by pandas

Installation

pip install ladybug-pandas

QuickStart

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()

API Documentation

You can also find some usage examples in the examples folder of the code repository.

Local Development

  1. Clone this repo locally
git clone git@github.com:ladybug-tools/ladybug-pandas

# or

git clone https://github.com/ladybug-tools/ladybug-pandas
  1. Install dependencies:
cd ladybug-pandas
pip install -r dev-requirements.txt
pip install -r requirements.txt
  1. Run Tests:
python -m pytest tests/
  1. Generate Documentation:
sphinx-apidoc -f -e -d 4 -o ./docs ./ladybug_pandas
sphinx-build -b html ./docs ./docs/_build/docs