Open andrewsu opened 6 years ago
Ya, also I have a little helper function that makes a sparql query result into a pandas df, but haven't integrated it into wdi yet. Would be nice to have that as the code snippet.
The list of code samples are baked into the page's code, would have to make a pull request https://github.com/wikimedia/wikidata-query-gui/blob/master/wikibase/queryService/api/CodeSamples.js
After performing a query on query.wikidata.org, there is a "code" link that gives code snippets in various languages/libraries, including pywikibot. Should we create one for WDI?