Skip to content

ladybug-tools/ladybug-pandas

Folders and files

NameName
Last commit message
Last commit date
Nov 1, 2021
Nov 1, 2021
Mar 18, 2020
Apr 28, 2020
Dec 27, 2022
Nov 1, 2021
Nov 2, 2021
Mar 18, 2020
Mar 18, 2020
Mar 18, 2020
Sep 29, 2020
Nov 1, 2021
Mar 18, 2020
Nov 2, 2021
Oct 27, 2021
Mar 18, 2020
Sep 29, 2020

Repository files navigation

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

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