Per @pmrv's [comment](https://github.com/pyiron/pyiron_snippets/pull/84#issuecomment-4012921206). Nice edge case treatment.