powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
55 stars 12 forks source link

Refactor dataframe context #747

Closed geofjamg closed 4 months ago

geofjamg commented 4 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Refactoring

What is the current behavior?

DataframeContext has been added to low level dataframe API but has some data specific to network.

What is the new behavior (if this is a feature change)? DataframeContext is implemented as a generic type in the low level API and a specific class NetworkDataframeContext is added to network dataframe package.

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information: