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

Columnar data Python API step 2 #676

Merged
merged 12 commits into from
Jul 22, 2024

Conversation

nitbharambe
Copy link
Member

Change behavior of output_component type to the decided logic.

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
@nitbharambe nitbharambe marked this pull request as ready for review July 16, 2024 09:48
src/power_grid_model/typing.py Outdated Show resolved Hide resolved
src/power_grid_model/core/data_handling.py Outdated Show resolved Hide resolved
src/power_grid_model/core/data_handling.py Outdated Show resolved Hide resolved
src/power_grid_model/core/data_handling.py Outdated Show resolved Hide resolved
src/power_grid_model/typing.py Outdated Show resolved Hide resolved
src/power_grid_model/core/data_handling.py Outdated Show resolved Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
This reverts commit 2d5c41f.

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
figueroa1395
figueroa1395 previously approved these changes Jul 22, 2024
Copy link
Contributor

@figueroa1395 figueroa1395 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me.

src/power_grid_model/core/data_handling.py Outdated Show resolved Hide resolved
src/power_grid_model/_utils.py Outdated Show resolved Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
figueroa1395
figueroa1395 previously approved these changes Jul 22, 2024
@nitbharambe nitbharambe added this pull request to the merge queue Jul 22, 2024
@nitbharambe nitbharambe removed this pull request from the merge queue due to a manual request Jul 22, 2024
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Copy link
Contributor

@Jerry-Jinfeng-Guo Jerry-Jinfeng-Guo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for now the temporary type hint of dict[ComponentType, np.ndarray] | dict[ComponentType, dict[str, np.ndarray]] is ok. We can make subsequent changes when merging the other PR where data types are touched. Only request a minor change in the docstring. i.e., "memory overhead" -> "memory footprint"

@figueroa1395
Copy link
Contributor

@Jerry-Jinfeng-Guo I believe you are referring to #465. I will leave it here for reference.

@Jerry-Jinfeng-Guo
Copy link
Contributor

@Jerry-Jinfeng-Guo I believe you are referring to #465. I will leave it here for reference.

#663, but yes

This reverts commit ba7ce89.

Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <78108900+nitbharambe@users.noreply.github.com>
Copy link

@nitbharambe nitbharambe added this pull request to the merge queue Jul 22, 2024
Merged via the queue into main with commit 32d11dd Jul 22, 2024
26 checks passed
@nitbharambe nitbharambe deleted the feature/columnar-dataset-python-api-step-2 branch July 22, 2024 15:08
@mgovers mgovers mentioned this pull request Nov 5, 2024
27 tasks
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.

4 participants