Skip to main content

A ladybug extension powered by pandas

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ladybug-pandas-0.4.1.tar.gz (872.6 kB view hashes)

Uploaded Source

Built Distribution

ladybug_pandas-0.4.1-py2.py3-none-any.whl (28.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page