We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
from slack
The text was updated successfully, but these errors were encountered:
Data is from here
%%sql CREATE TABLE Cities (Country VARCHAR, Name VARCHAR, Year INT, Population INT); INSERT INTO Cities VALUES ('NL', 'Amsterdam', 2000, 1005); INSERT INTO Cities VALUES ('NL', 'Amsterdam', 2010, 1065); INSERT INTO Cities VALUES ('NL', 'Amsterdam', 2020, 1158); INSERT INTO Cities VALUES ('US', 'Seattle', 2000, 564); INSERT INTO Cities VALUES ('US', 'Seattle', 2010, 608); INSERT INTO Cities VALUES ('US', 'Seattle', 2020, 738); INSERT INTO Cities VALUES ('US', 'New York City', 2000, 8015); INSERT INTO Cities VALUES ('US', 'New York City', 2010, 8175); INSERT INTO Cities VALUES ('US', 'New York City', 2020, 8772);
%%sql PIVOT Cities ON Year USING SUM(Population);
Should produce:
but only displays the column headings.
Tested again today using jupysql 0.10.16 and duckdb 1.1.3. Not sure if it ever worked with jupysql.
jupysql 0.10.16
duckdb 1.1.3
Sorry, something went wrong.
No branches or pull requests
from slack
The text was updated successfully, but these errors were encountered: