Code First

The include-jupyter extension automatically assigns to output cells. If page is set to you will get automatic split between code and output. Note: Content below is included using {meta: {rightSide: true}} type two-sides include-jupyter

Loading Data From CSV

Use to load data from an external file. read_csv from pandas import read_csv from IPython.display import display games = read_csv('games.csv') print(games) genre title price 0 RPG Witcher 3 20.0 1 FPS Doom 39.0 2 Strategy War Craft 10.0 3 Cards Balatro 5.0 display(games)

Average Pricing By Genre

To calculate the average prcing, use and combination. groupby mean games.groupby('genre')['price'].mean().plot(kind='bar', title='Average Price by Genre', ylabel='Price ($)', rot=45) <Axes: title={'center': 'Average Price by Genre'}, xlabel='genre', ylabel='Price ($)'>

Story First

Use if you use a notebook with Markdown cells to tell a story. In this mode, code will be moved to the right side and a reader can focus on the story itself. storyFirst :include-jupyter: notebook.ipynb {storyFirst: true}

Loading Data From CSV

Use to load data from an external file. read_csv genre title price 0 RPG Witcher 3 20.0 1 FPS Doom 39.0 2 Strategy War Craft 10.0 3 Cards Balatro 5.0 from pandas import read_csv from IPython.display import display games = read_csv('games.csv') print(games) display(games)

Average Pricing By Genre

To calculate the average prcing, use and combination. groupby mean <Axes: title={'center': 'Average Price by Genre'}, xlabel='genre', ylabel='Price ($)'> games.groupby('genre')['price'].mean().plot(kind='bar', title='Average Price by Genre', ylabel='Price ($)', rot=45)