You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any unknown DataFrame is droped by select_subnet. This is not a good behavior as one would expect that any unknown DataFrame is just copied to the resulting subnet.
Of course this could lead to invalid data being in the subnet but it is better to have data that is no longer valid (for example if it references a bus that is not part of the subnet) than loosing information all together.
The Documentation should mention this behavior regardless of the chosen option.
Expected Behavior
I would expect the example DataFrame to be present in the selected subnet.
Installed Versions
python version: 3.9.13
pandas version: 2.2.2
networkx version: 3.2.1
scipy version: 1.13.1
numpy version: 2.0.0
packaging version: 24.1
tqdm version: 4.66.4
deepdiff version: 7.0.1
Operating System name/version: Windows 10 Enterprise / 22H2
Label
Relevant labels are selected
The text was updated successfully, but these errors were encountered:
There already is the flag keep_everything_else. @KS-HTK, you can improve the docstring to avoid that the next user is missing the existing functionality.
Bug report checklis
Searched the issues page for similar reports
Read the relevant sections of the documentation
Browse the tutorials and tests for usefull code snippets and examples of use
Reproduced the issue after updating with
pip install --upgrade pandapower
(orgit pull
)Tried basic troubleshooting (if a bug/error) like restarting the interpreter and checking the pythonpath
Reproducible Example
Issue Description and Traceback
Any unknown DataFrame is droped by select_subnet. This is not a good behavior as one would expect that any unknown DataFrame is just copied to the resulting subnet.
Of course this could lead to invalid data being in the subnet but it is better to have data that is no longer valid (for example if it references a bus that is not part of the subnet) than loosing information all together.
The Documentation should mention this behavior regardless of the chosen option.
Expected Behavior
I would expect the
example
DataFrame to be present in the selected subnet.Installed Versions
Label
The text was updated successfully, but these errors were encountered: