Skip to content

๐Ÿž <3 ๐Ÿผ A ladybug extension powered by pandas

License

Notifications You must be signed in to change notification settings

ladybug-tools/ladybug-pandas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

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