Skip to content

[WIP] Relative time series #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 22, 2024
Merged

[WIP] Relative time series #5

merged 4 commits into from
Aug 22, 2024

Conversation

jackparmer
Copy link
Contributor

Adds relative time series support to Dataset and Ingest classes.

Can do things like:

from nominal import Ingest

dataset = Ingest().read(path = '/Users/jp/Desktop/penguins.csv', relative=True, ts_col='Sample Number')
dataset.relative # True
dataset.relative_units # 'SECONDS'
dataset.upload()

or

from nominal import Dataset

df = nm.data.penguins() # some polars dataframe
ds = Dataset(df, relative = True, ts_col = 'Sample Number')
ds.upload()

@jackparmer jackparmer merged commit 5aa7a71 into main Aug 22, 2024
1 check passed
@jackparmer jackparmer deleted the relative-time-series branch November 15, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant