Skip to main content

common functions for muiscaenergy projects

Project description

Muisca Energy Commons

Common functions for muiscaenergy projects.

Time Series

Example usage:

from datetime import datetime
from muiscaenergy_common.src.timeseries.series_base import TimeSeries

# Create a TimeSeries instance
ts = TimeSeries(ts_from=datetime(2023, 9, 30, 12, 0, 0),
                ts_to=datetime(2023, 10, 1, 12, 0, 0),
                freq='H',
                lat=40.7128,
                lon=-74.0060,
                tz="America/New_York")

 # Generate a time series with ts_from, ts_to and freq
 df = ts.get_ts()

 # Generate a time series with a specific time zone
 df = ts.get_by_tz()

 # Generate a time series for a specific geographical location
 df = ts.get_by_latlon()

Learning Material

Espanol

https://www.youtube.com/watch?v=AczMuVzUrkE&ab_channel=SebastianBelmonte

English

https://www.youtube.com/watch?v=5KEObONUkik&ab_channel=ArjanCodes

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

muiscaenergy_common-0.0.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

muiscaenergy_common-0.0.2-py3-none-any.whl (7.3 kB view hashes)

Uploaded 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