Open Issues Need Help
View All on GitHubAI Summary: Add documentation to the `scipeds` Python package explaining how to access and use the 'institutions' table, mirroring the existing documentation for the 'CIP' table. This involves creating new examples and potentially updating the API reference.
AI Summary: The task is to modify the `_format_query` method within the `CompletionsQueryEngine` class of the `scipeds` Python package. The current implementation of the `if unitids` conditional check fails when `unitids` is a NumPy array. The fix requires modifying this conditional to correctly handle NumPy arrays, likely by checking if the array is empty or using a method like `unitids.size > 0` instead of directly evaluating the truthiness of the array.