Skip to content

Commit

Permalink
Doc fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-matera committed Apr 9, 2021
1 parent 63c08f7 commit 40afdf5
Showing 1 changed file with 8 additions and 12 deletions.
20 changes: 8 additions & 12 deletions notebooks/Visualization/intro_to_visualization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,26 +93,22 @@
"source": [
"def lineplot(query):\n",
" \"\"\"\n",
" The query should produce a table with at least thre columns. The first \n",
" column will be the X-axis and subsequent columns contain plotted series. \n",
" A single series will have the columns:\n",
" The query should produce a table with three columns. The first column\n",
" will be the X-axis and subsequent columns contain plotted series. \n",
" The series name should be in the second colum and the series data in \n",
" the third.\n",
"\n",
" 1. x-axis \n",
" 2. Series name \n",
" 3. Series data\n",
"\n",
" A multiple series plot will have the columns:\n",
"\n",
" 1. x-axis\n",
" 2. Series \"A\" name \n",
" 3. Series \"A\" data \n",
" 4. Series \"B\" name \n",
" 5. Series \"B\" data\n",
"\n",
" Example:\n",
" Examples:\n",
"\n",
" select year, 'California', sum(pop_total) from population group by year; \n",
"\n",
" select year, county, sum(pop_total) \n",
" from population group by year, county; \n",
"\n",
" \"\"\"\n",
" m = re.search(r'%%sql\\s+(\\S+)', query)\n",
" url = m.group(1)\n",
Expand Down

0 comments on commit 40afdf5

Please sign in to comment.