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

Add --store-format option to query magics #580

Merged
merged 4 commits into from
Apr 3, 2024
Merged

Conversation

michaelnchin
Copy link
Member

Issue #, if available: #579

Description of changes:

  • Added a new --store-format option to the %%gremlin/%%oc/%%sparql magic commands. This option allows users to choose between JSON dictionary (default) or Pandas DataFrame format when saving query mode results with --store-to.
  • Restored DataTables formatting to the %%sparql results widget.

Example usage:

%%oc --store-to a_variable --store-format pandas
...

Screenshot 2024-04-01 at 11 14 18 PM

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@michaelnchin michaelnchin linked an issue Apr 2, 2024 that may be closed by this pull request
@michaelnchin michaelnchin merged commit 454847b into main Apr 3, 2024
3 checks passed
@michaelnchin michaelnchin deleted the store-pandas branch April 3, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Resolved
Development

Successfully merging this pull request may close these issues.

Add Pandas format to --store-to
1 participant