Skip to content
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

Add new FlascDataFrame object to enhance user interface with data #199

Merged
merged 22 commits into from
Sep 4, 2024

Conversation

misi9170
Copy link
Collaborator

FlascDataFrame inherits from pandas.DataFrame, but will provide some extra utilities for mapping between different naming conventions and dataframe formats ("long" data, "wide" data, etc).

At this stage, just a proof of concept while we build out needed functionality, tests, etc.

@misi9170 misi9170 added the new-feature A new feature label Jul 25, 2024
@misi9170 misi9170 changed the base branch from develop to main August 13, 2024 20:06
@misi9170 misi9170 changed the base branch from main to develop August 13, 2024 20:07
@paulf81 paulf81 mentioned this pull request Aug 20, 2024
1 task
@misi9170 misi9170 changed the base branch from develop to flasc-dataframe September 4, 2024 18:18
@misi9170 misi9170 marked this pull request as ready for review September 4, 2024 18:53
@misi9170
Copy link
Collaborator Author

misi9170 commented Sep 4, 2024

I'm going to instead merge into the new flasc-dataframe branch, which will still be a work in progress while we build out more features on the FlascDataFrame

@paulf81 paulf81 self-requested a review September 4, 2024 21:37
@misi9170 misi9170 merged commit bdc95e0 into NREL:flasc-dataframe Sep 4, 2024
3 checks passed
misi9170 added a commit that referenced this pull request Oct 17, 2024
* Add new `FlascDataFrame` object to enhance user interface with data (#199)

* Adding at the root level for now; could consider moving to utilities/

* Ruff.

* precommit stuff.

* Add example notebook

* Add wide to long

* Add test

* Update README.md engagement

* Update README.md replacing 'FLORIS' typo

* Feature/add docstrings (#197)

* Update to 15 (#202)

* Update for PyPI installation. (#204)

* Update version number; ignore version.py for ruff.

* Adhere to FLASC formatting rules.

* psuedocode for conversions. Tests for saving dataframe to file.

* Print warning when to_feather used.

* String formatting.

* Add several more tests and n_turbines property.

* Adding TODOs for long/wide conversions.

* Clean up, a few more tests.

* Improved printout.

* ruff format.

---------

Co-authored-by: Paul <paul.fleming@nrel.gov>
Co-authored-by: christiannvaughn <139596563+christiannvaughn@users.noreply.github.com>

* Add dataframe conversions to flascdataframe (#211)

* Add wind up example using `FlascDataFrame` (#210)

* loosen wind-up dependency

* Finish FlascDataFrame (Paul) (#215)

Add type hints

* Finish FlascDataFrame (update examples/docs) (#219)

* Merge recent changes.

* Update functions to use FlascDataFrames; getter and setter for channel_name_map; metadata copying method.

* Smarteole examples now using FlascDataFrame

* Add brief demonstration of switch to user data format; rename 09 notebook for clarity.

* Update artifical data examples.

* Had weird behavior in the getter/setter caused by not providing the true underlying attribute in _metadata.

* formatting.

* Simplify imports of FlascDataFrame throughout.

* Add wind-up to pyproject.toml after setup.py was removed.

* Update docs for FlascDataFrame (#220)

---------

Co-authored-by: misi9170 <39596329+misi9170@users.noreply.github.com>
Co-authored-by: christiannvaughn <139596563+christiannvaughn@users.noreply.github.com>
Co-authored-by: Alex Clerc <alex.clerc@res-group.com>
Co-authored-by: misi9170 <michael.sinner@nrel.gov>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-feature A new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants