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
1 change: 1 addition & 0 deletions src/power_grid_model/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,7 @@ def copy_output_to_columnar_dataset(
available_components: list[ComponentType],
) -> Dataset:
"""Temporary function to copy row based dataset to a column based dataset as per output_component_types.
The purpose of this function is to mimic columnar data without any memory overhead benefits.
nitbharambe marked this conversation as resolved.
Show resolved Hide resolved
nitbharambe marked this conversation as resolved.
Show resolved Hide resolved

Args:
data (Dataset):
Expand Down
2 changes: 1 addition & 1 deletion src/power_grid_model/core/data_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def create_output_data(
batch_size: int,
) -> Dataset:
"""
Create the output dataset based on component and batch size from the model; and output attribtues requested by user.
Create the output dataset based on component and batch size from the model; and output attributes requested by user.

Args:
output_component_types:
Expand Down