Ultima attività 1729150689

Revisione 3d9bcd2c09e0c0f394760695b9184b9962f26baf

Polars-readme-3.sh Raw
1# run an inline SQL query
2> polars -c "SELECT species, AVG(sepal_length) AS avg_sepal_length, AVG(sepal_width) AS avg_sepal_width FROM read_csv('docs/assets/data/iris.csv') GROUP BY species;"
3
4# run interactively
5> polars
6Polars CLI v0.3.0
7Type .help for help.
8
9> SELECT species, AVG(sepal_length) AS avg_sepal_length, AVG(sepal_width) AS avg_sepal_width FROM read_csv('docs/assets/data/iris.csv') GROUP BY species;