title
Jupyter Notebook Tutorial / Ipython Notebook Tutorial

description
This tutorial will go over, 1) What is jupyter or ipython notebook? 2) Installation of jupyter notebook 3) Build first notebook using python pandas 4) Cover markdown and embedding video links 5) Plotting chart using matplotlib 6) What is line magic and cell magic and how to use them 7) Export notebook as py and html file Do you want to learn technology from me? Check https://codebasics.io/ for my affordable video courses. Find notebook code here: https://github.com/codebasics/py/tree/master/jupyter Website: https://codebasics.io/ Facebook: https://www.facebook.com/codebasicshub Twitter: https://twitter.com/codebasicshub

detail
{'title': 'Jupyter Notebook Tutorial / Ipython Notebook Tutorial', 'heatmap': [{'end': 233.862, 'start': 172.459, 'weight': 0.72}, {'end': 333.439, 'start': 284.717, 'weight': 0.798}, {'end': 972.495, 'start': 938.181, 'weight': 0.944}, {'end': 1202.186, 'start': 1172.552, 'weight': 0.8}], 'summary': 'This tutorial covers building jupyter notebook with live code, visualizations, and explanatory text, using it for data analysis including retrieving live stock prices and productivity tips, and demonstrating plotting stock volume as a bar chart using matplotlib, exporting notebooks to html and python files.', 'chapters': [{'end': 108.091, 'segs': [{'end': 108.091, 'src': 'embed', 'start': 24.659, 'weight': 0, 'content': [{'end': 35.425, 'text': 'A notebook is a web application that allows you to combine live code visualizations and explanatory text all in one place.', 'start': 24.659, 'duration': 10.766}, {'end': 41.328, 'text': 'I have this sample notebook here where you can see that I have a live code.', 'start': 36.105, 'duration': 5.223}, {'end': 47.171, 'text': 'By live code I mean if I change my code here, for example,', 'start': 41.508, 'duration': 5.663}, {'end': 55.497, 'text': 'I want to change the color of this plot from red to green and when i run this i see that it is changing.', 'start': 47.171, 'duration': 8.326}, {'end': 65.206, 'text': 'so this is live, short of like idle or python command prompt, where you change your code and you can see your result interactively.', 'start': 55.497, 'duration': 9.709}, {'end': 68.39, 'text': 'second aspect of jupyter notebook is visualization.', 'start': 65.206, 'duration': 3.184}, {'end': 73.915, 'text': 'so here i can see chart, a table and a youtube video link.', 'start': 68.39, 'duration': 5.525}, {'end': 78.257, 'text': 'all right, The third aspect is the explanatory text.', 'start': 73.915, 'duration': 4.342}, {'end': 82.379, 'text': 'So you can see the rich text here with different fonts and colors.', 'start': 78.417, 'duration': 3.962}, {'end': 87.62, 'text': 'This sort of looks like a web page, an HTML style rich text.', 'start': 82.759, 'duration': 4.861}, {'end': 97.344, 'text': "So if you have all of these three combined in one place, then it's really awesome, because you can share your research.", 'start': 87.881, 'duration': 9.463}, {'end': 108.091, 'text': 'Many times, data scientists want to prove their point and they want to share the result with other people, and this is a great way for doing it.', 'start': 98.224, 'duration': 9.867}], 'summary': 'Jupyter notebook allows live code, visualizations, and explanatory text in one place, facilitating interactive sharing for data scientists.', 'duration': 83.432, 'max_score': 24.659, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc24659.jpg'}], 'start': 0.458, 'title': 'Building jupiter notebook', 'summary': 'Focuses on building a jupyter notebook, highlighting its features including live code, visualizations, and explanatory text, and demonstrating the ability to combine them in one place and share research.', 'chapters': [{'end': 108.091, 'start': 0.458, 'title': 'Building jupiter notebook', 'summary': 'Focuses on building a jupyter notebook, emphasizing its features such as live code, visualizations, and explanatory text, illustrating the ability to combine them in one place and share research.', 'duration': 107.633, 'highlights': ['Jupyter notebook allows combining live code, visualizations, and explanatory text, providing an interactive environment for data analysis and sharing research.', 'The live code feature in Jupyter notebook enables interactive code editing and result visualization, facilitating real-time code changes and immediate feedback.', 'The ability to share research and results with others is highlighted as a key benefit of using Jupyter notebook for data analysis.']}], 'duration': 107.633, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc458.jpg', 'highlights': ['Jupyter notebook allows combining live code, visualizations, and explanatory text, providing an interactive environment for data analysis and sharing research.', 'The live code feature in Jupyter notebook enables interactive code editing and result visualization, facilitating real-time code changes and immediate feedback.', 'The ability to share research and results with others is highlighted as a key benefit of using Jupyter notebook for data analysis.']}, {'end': 522.212, 'segs': [{'end': 233.862, 'src': 'heatmap', 'start': 131.769, 'weight': 0, 'content': [{'end': 141.365, 'text': 'so in order to install it, uh, you can just go to google and type in, install jupyter notebook and click on this link.', 'start': 131.769, 'duration': 9.596}, {'end': 145.768, 'text': 'now, here there are two ways of installing jupyter notebook.', 'start': 141.365, 'duration': 4.403}, {'end': 148.05, 'text': 'one is by installing anaconda.', 'start': 145.768, 'duration': 2.282}, {'end': 153.074, 'text': 'jupyter is part of anaconda, so once you install anaconda, you will automatically get it.', 'start': 148.05, 'duration': 5.024}, {'end': 157.877, 'text': 'second way is to install it using pip, where you can just run pip, install jupyter.', 'start': 153.074, 'duration': 4.803}, {'end': 162.564, 'text': 'installing anaconda is highly recommended.', 'start': 158.718, 'duration': 3.846}, {'end': 168.954, 'text': 'so i would go ahead and install anaconda and get some other goodies for free.', 'start': 162.564, 'duration': 6.39}, {'end': 172.459, 'text': 'i have a separate video on how to install anaconda.', 'start': 168.954, 'duration': 3.505}, {'end': 185.405, 'text': 'so you can just follow that and assuming that now you have followed all the steps and you have installed anaconda to launch jupyter notebook,', 'start': 172.459, 'duration': 12.946}, {'end': 186.745, 'text': 'here is what you need to do.', 'start': 185.405, 'duration': 1.34}, {'end': 193.447, 'text': 'so you can go to your command prompt and just type in jupyter notebook.', 'start': 186.745, 'duration': 6.702}, {'end': 202.091, 'text': 'okay, now, whenever you type this command, make sure, like so I have my working directory here, see quote view I.', 'start': 194.508, 'duration': 7.583}, {'end': 206.532, 'text': "so it's gonna launch the Jupyter notebook from that working directory.", 'start': 202.091, 'duration': 4.441}, {'end': 210.694, 'text': 'alright, so whatever you save, you can save into that directory.', 'start': 206.532, 'duration': 4.162}, {'end': 218.675, 'text': 'so just run Jupyter notebook and when you do that is going to launch the notebook.', 'start': 210.694, 'duration': 7.981}, {'end': 223.157, 'text': 'okay, now, in the notebook, there are few things here.', 'start': 218.675, 'duration': 4.482}, {'end': 230.26, 'text': 'so first of all, you have this front-end or a UI which is running in a web browser.', 'start': 223.157, 'duration': 7.103}, {'end': 233.862, 'text': 'okay, the second part is your server.', 'start': 230.26, 'duration': 3.602}], 'summary': 'Installing jupyter notebook using anaconda and launching it via command prompt.', 'duration': 78.925, 'max_score': 131.769, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc131769.jpg'}, {'end': 267.89, 'src': 'embed', 'start': 238.545, 'weight': 5, 'content': [{'end': 247.672, 'text': "okay, and when I do things like when I build a Jupyter notebook here, it's gonna communicate with this server.", 'start': 238.545, 'duration': 9.127}, {'end': 255.177, 'text': 'so let me go ahead and open the Jupyter architecture diagram.', 'start': 247.672, 'duration': 7.505}, {'end': 257.137, 'text': 'so I have this diagram here.', 'start': 255.177, 'duration': 1.96}, {'end': 258.379, 'text': 'so this is how it works.', 'start': 257.137, 'duration': 1.242}, {'end': 260.88, 'text': 'so your browser is basically here.', 'start': 258.379, 'duration': 2.501}, {'end': 263.363, 'text': 'so this is your front end for the notebook.', 'start': 260.88, 'duration': 2.483}, {'end': 267.89, 'text': 'then you have notebook server which is running here.', 'start': 264.429, 'duration': 3.461}], 'summary': 'Jupyter notebook communicates with server for browser frontend.', 'duration': 29.345, 'max_score': 238.545, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc238545.jpg'}, {'end': 333.439, 'src': 'heatmap', 'start': 284.717, 'weight': 0.798, 'content': [{'end': 296.684, 'text': 'it will send a JSON messages to notebook server and notebook server will eventually use kernel to run your code and supply the output back to your browser.', 'start': 284.717, 'duration': 11.967}, {'end': 306.81, 'text': "so now I'm going to create my first notebook, so you can go here new and click on this one.", 'start': 296.684, 'duration': 10.126}, {'end': 309.252, 'text': 'all right, Python.', 'start': 306.81, 'duration': 2.442}, {'end': 312.374, 'text': 'now Jupyter supports many other programming languages.', 'start': 309.252, 'duration': 3.122}, {'end': 316.877, 'text': "it's not just Python we are in this tutorial covering only Python.", 'start': 312.374, 'duration': 4.503}, {'end': 333.439, 'text': 'okay, our goal here is to build a notebook that will use pandas Python module to retrieve the live stock price and plot it as a chart and also in terms of a table.', 'start': 317.938, 'duration': 15.501}], 'summary': 'Creating a notebook to retrieve live stock price using pandas, plotting as a chart and table.', 'duration': 48.722, 'max_score': 284.717, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc284717.jpg'}, {'end': 333.439, 'src': 'embed', 'start': 296.684, 'weight': 2, 'content': [{'end': 306.81, 'text': "so now I'm going to create my first notebook, so you can go here new and click on this one.", 'start': 296.684, 'duration': 10.126}, {'end': 309.252, 'text': 'all right, Python.', 'start': 306.81, 'duration': 2.442}, {'end': 312.374, 'text': 'now Jupyter supports many other programming languages.', 'start': 309.252, 'duration': 3.122}, {'end': 316.877, 'text': "it's not just Python we are in this tutorial covering only Python.", 'start': 312.374, 'duration': 4.503}, {'end': 333.439, 'text': 'okay, our goal here is to build a notebook that will use pandas Python module to retrieve the live stock price and plot it as a chart and also in terms of a table.', 'start': 317.938, 'duration': 15.501}], 'summary': 'Creating a notebook to retrieve live stock price using pandas python module for plotting as a chart and table.', 'duration': 36.755, 'max_score': 296.684, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc296684.jpg'}], 'start': 108.772, 'title': 'Using jupyter notebook for data analysis', 'summary': 'Covers installing jupyter notebook via anaconda, launching the notebook, using pandas library to retrieve live stock prices, and plotting stock prices as a chart.', 'chapters': [{'end': 186.745, 'start': 108.772, 'title': 'Building jupyter notebook', 'summary': 'Discusses the process of installing jupyter notebook, emphasizing the recommended method of installation using anaconda and providing instructions for launching the notebook.', 'duration': 77.973, 'highlights': ['Installing Anaconda is highly recommended as it includes Jupyter Notebook and provides additional benefits.', 'There are two ways to install Jupyter Notebook: via Anaconda or using pip; Anaconda installation is automatic while pip installation requires a separate command.', "The chapter emphasizes the importance of installing Anaconda for obtaining Jupyter Notebook and additional 'goodies' for free."]}, {'end': 522.212, 'start': 186.745, 'title': 'Using jupyter notebook for data analysis', 'summary': 'Introduces using jupyter notebook for data analysis, covering launching the notebook, creating and running code cells, utilizing pandas library to retrieve and display live stock prices, and plotting stock prices as a chart.', 'duration': 335.467, 'highlights': ["Launching Jupyter notebook from a specific working directory The command 'jupyter notebook' launches the Jupyter notebook from the specified working directory, allowing for easy access to the saved files in that directory.", 'Jupyter notebook architecture: front-end, server, and kernel The Jupyter notebook consists of a front-end UI running in a web browser, a server that communicates with the UI and a kernel to execute the code, forming the architecture of the notebook system.', 'Using pandas library to retrieve live stock prices and display as a table and chart The tutorial demonstrates using the pandas Python module to retrieve live stock prices and display them as a table and chart, providing interactive access to live data within the notebook.']}], 'duration': 413.44, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc108772.jpg', 'highlights': ['Installing Anaconda is highly recommended as it includes Jupyter Notebook and provides additional benefits.', "The chapter emphasizes the importance of installing Anaconda for obtaining Jupyter Notebook and additional 'goodies' for free.", 'Using pandas library to retrieve live stock prices and display as a table and chart The tutorial demonstrates using the pandas Python module to retrieve live stock prices and display them as a table and chart, providing interactive access to live data within the notebook.', "Launching Jupyter notebook from a specific working directory The command 'jupyter notebook' launches the Jupyter notebook from the specified working directory, allowing for easy access to the saved files in that directory.", 'There are two ways to install Jupyter Notebook: via Anaconda or using pip; Anaconda installation is automatic while pip installation requires a separate command.', 'Jupyter notebook architecture: front-end, server, and kernel The Jupyter notebook consists of a front-end UI running in a web browser, a server that communicates with the UI and a kernel to execute the code, forming the architecture of the notebook system.']}, {'end': 820.047, 'segs': [{'end': 619.759, 'src': 'embed', 'start': 543.187, 'weight': 0, 'content': [{'end': 552.471, 'text': "okay. also, if you want to, let's say, insert a cell above this line, then you can say insert cell above and below.", 'start': 543.187, 'duration': 9.284}, {'end': 557.314, 'text': 'also, here in i have a short keyboard shortcut.', 'start': 552.471, 'duration': 4.843}, {'end': 567.902, 'text': 'so i am looking for a shortcut for insert cell above and you will see that you can use a or b as a shortcut to insert cell above.', 'start': 557.314, 'duration': 10.588}, {'end': 570.063, 'text': 'so i will type in a here.', 'start': 567.902, 'duration': 2.161}, {'end': 573.325, 'text': 'i have to be out of that.', 'start': 570.063, 'duration': 3.262}, {'end': 577.167, 'text': 'Now you see, I typed in A and it inserted a cell here.', 'start': 574.326, 'duration': 2.841}, {'end': 581.509, 'text': 'And if I have this cell selected and if I type in B, it will insert the cell here.', 'start': 577.407, 'duration': 4.102}, {'end': 581.969, 'text': 'All right.', 'start': 581.529, 'duration': 0.44}, {'end': 585.39, 'text': 'Now let me see what is the command to cut the cell.', 'start': 582.369, 'duration': 3.021}, {'end': 588.171, 'text': 'So to cut the cell, you can press X key.', 'start': 585.79, 'duration': 2.381}, {'end': 590.872, 'text': "So here I don't need this cell.", 'start': 588.251, 'duration': 2.621}, {'end': 593.933, 'text': "So I'll press X and it will get rid of it.", 'start': 590.892, 'duration': 3.041}, {'end': 600.656, 'text': 'So you can learn some of these shortcuts and it will increase your productivity.', 'start': 594.754, 'duration': 5.902}, {'end': 605.153, 'text': "If you don't want to use shortcuts, then obviously you have these buttons.", 'start': 601.932, 'duration': 3.221}, {'end': 611.175, 'text': 'So this button right here is used to save your Jupyter notebook file.', 'start': 605.673, 'duration': 5.502}, {'end': 615.657, 'text': "So now that we have some code, let's go ahead and save the file.", 'start': 611.256, 'duration': 4.401}, {'end': 617.098, 'text': 'So here I will say save.', 'start': 615.677, 'duration': 1.421}, {'end': 619.759, 'text': 'Now it saved the file as untitled.', 'start': 617.518, 'duration': 2.241}], 'summary': 'Learned jupyter shortcuts: a & b to insert cell, x to cut cell, increased productivity', 'duration': 76.572, 'max_score': 543.187, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc543187.jpg'}, {'end': 789.235, 'src': 'embed', 'start': 714.962, 'weight': 1, 'content': [{'end': 728.09, 'text': 'okay, so, for example, here, if you say percentage print hello world, then it will tell you how much time print hello world takes to execute.', 'start': 714.962, 'duration': 13.128}, {'end': 729.972, 'text': "So let's try this out.", 'start': 728.731, 'duration': 1.241}, {'end': 735.435, 'text': "So I'm going to measure a performance of a for loop.", 'start': 730.272, 'duration': 5.163}, {'end': 742.78, 'text': "So let's say I have this big for loop where I'm just doing some dummy operation.", 'start': 735.516, 'duration': 7.264}, {'end': 752.307, 'text': 'And when you run this, it will tell you that this for loop in total took 8.51 milliseconds.', 'start': 744.321, 'duration': 7.986}, {'end': 753.648, 'text': 'So this is pretty powerful.', 'start': 752.347, 'duration': 1.301}, {'end': 760.055, 'text': 'This can help you in identifying the bottleneck in your code.', 'start': 754.372, 'duration': 5.683}, {'end': 766.059, 'text': 'Another magic command is percentage system.', 'start': 761.016, 'duration': 5.043}, {'end': 770.682, 'text': 'So percentage system will allow you to run any Unix command.', 'start': 766.439, 'duration': 4.243}, {'end': 783.527, 'text': 'So here, if I say percentage system pwd, then it will show me my present working directory, which is this.', 'start': 770.722, 'duration': 12.805}, {'end': 789.235, 'text': 'You can also run ls to list down all the files.', 'start': 785.11, 'duration': 4.125}], 'summary': 'Using percentage print and percentage system to measure code performance and run unix commands for diagnostics.', 'duration': 74.273, 'max_score': 714.962, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc714962.jpg'}], 'start': 522.212, 'title': 'Jupyter notebook productivity tips', 'summary': 'Covers productivity tips for jupyter notebook, including shortcuts and magic commands to measure performance, execute unix commands, increasing productivity and efficiency.', 'chapters': [{'end': 593.933, 'start': 522.212, 'title': 'Using line magic in jupyter notebook', 'summary': 'Covers the manual options for manipulating cells in jupyter notebook, including removing, inserting, and cutting cells, along with their corresponding keyboard shortcuts.', 'duration': 71.721, 'highlights': ["The manual options for manipulating cells in Jupyter Notebook include removing, inserting, and cutting cells, with keyboard shortcuts 'a' and 'b' for inserting cells above and below.", "The keyboard shortcut 'X' is used to cut a cell in Jupyter Notebook."]}, {'end': 820.047, 'start': 594.754, 'title': 'Jupyter notebook productivity tips', 'summary': 'Covers productivity tips for jupyter notebook, including using shortcuts and magic commands to measure performance and execute unix commands, ultimately increasing productivity and efficiency in code development.', 'duration': 225.293, 'highlights': ["The 'percentage time magic' command can measure the performance of a Python statement execution, such as measuring the time taken for a for loop to execute, providing valuable insights for code optimization.", "The 'percentage system' magic command allows running Unix commands within the Jupyter Notebook, enabling users to perform system operations and quickly access information about the current working directory and available files.", 'Utilizing shortcuts and magic commands in Jupyter Notebook can significantly enhance productivity and efficiency in code development, ultimately leading to time savings and improved workflow.']}], 'duration': 297.835, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc522212.jpg', 'highlights': ['Utilizing shortcuts and magic commands in Jupyter Notebook can significantly enhance productivity and efficiency in code development, ultimately leading to time savings and improved workflow.', "The 'percentage system' magic command allows running Unix commands within the Jupyter Notebook, enabling users to perform system operations and quickly access information about the current working directory and available files.", "The 'percentage time magic' command can measure the performance of a Python statement execution, such as measuring the time taken for a for loop to execute, providing valuable insights for code optimization.", "The manual options for manipulating cells in Jupyter Notebook include removing, inserting, and cutting cells, with keyboard shortcuts 'a' and 'b' for inserting cells above and below.", "The keyboard shortcut 'X' is used to cut a cell in Jupyter Notebook."]}, {'end': 1138.389, 'segs': [{'end': 856.052, 'src': 'embed', 'start': 820.047, 'weight': 0, 'content': [{'end': 828.577, 'text': 'okay now, second thing i want to do is in my our data frame, here i have a volume on stock price also.', 'start': 820.047, 'duration': 8.53}, {'end': 832.52, 'text': 'Okay, so I want to plot this volume as a bar chart.', 'start': 829.358, 'duration': 3.162}, {'end': 836.202, 'text': 'Now matplotlib has a support for the bar chart.', 'start': 833.12, 'duration': 3.082}, {'end': 838.943, 'text': 'So I will use this particular cell.', 'start': 836.722, 'duration': 2.221}, {'end': 846.247, 'text': 'So let me remove this guy here and just use that to plot a bar chart.', 'start': 838.983, 'duration': 7.264}, {'end': 856.052, 'text': 'So you say your data frame dot plot dot bar and you will mention your y axis.', 'start': 846.287, 'duration': 9.765}], 'summary': 'Plot stock volume as a bar chart using matplotlib.', 'duration': 36.005, 'max_score': 820.047, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc820047.jpg'}, {'end': 1028.116, 'src': 'heatmap', 'start': 938.181, 'weight': 1, 'content': [{'end': 944.52, 'text': 'so this is an html line to embed that particular video link.', 'start': 938.181, 'duration': 6.339}, {'end': 954.005, 'text': 'now I want to insert that above this, so you can click on insert sellable or using a shortcut and copy paste.', 'start': 944.52, 'duration': 9.485}, {'end': 955.926, 'text': "alright, so let's run this.", 'start': 954.005, 'duration': 1.921}, {'end': 966.932, 'text': 'so now you can see the YouTube video link here and you can run this link here and this way, when a person is looking at this notebook,', 'start': 955.926, 'duration': 11.006}, {'end': 972.495, 'text': "he will play the video and he'll gain understanding on what is stock.", 'start': 966.932, 'duration': 5.563}, {'end': 982.337, 'text': 'next thing I want to do is I want to have some explanatory text to kind of explain the purpose of this tutorial.', 'start': 972.495, 'duration': 9.842}, {'end': 988.838, 'text': 'so again, I will go insert cell above and this particular cell.', 'start': 982.337, 'duration': 6.501}, {'end': 993.44, 'text': 'I will insert some explanatory text.', 'start': 988.838, 'duration': 4.602}, {'end': 1000.36, 'text': 'so I will say this just copying, pasting to save time, Okay.', 'start': 993.44, 'duration': 6.92}, {'end': 1008.465, 'text': 'Now this, the type of this cell will be markdown.', 'start': 1003.482, 'duration': 4.983}, {'end': 1011.607, 'text': 'Okay So now let me run this.', 'start': 1009.025, 'duration': 2.582}, {'end': 1019.131, 'text': 'Okay So this is markdown cell and you can use some of the markdown properties.', 'start': 1013.568, 'duration': 5.563}, {'end': 1025.194, 'text': "For example, let's say I want to highlight or make this text bold.", 'start': 1019.211, 'duration': 5.983}, {'end': 1028.116, 'text': 'For that, you can use star star.', 'start': 1026.015, 'duration': 2.101}], 'summary': 'Embed youtube video link and add explanatory text using markdown in the notebook.', 'duration': 72.19, 'max_score': 938.181, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc938181.jpg'}], 'start': 820.047, 'title': 'Plotting stock volume as bar chart', 'summary': 'Demonstrates plotting stock volume as a bar chart using matplotlib in a data frame, showcasing the order of execution and the suggestion to include a youtube video link for explaining stock to beginners.', 'chapters': [{'end': 916.214, 'start': 820.047, 'title': 'Plotting stock volume as bar chart', 'summary': 'Demonstrates plotting stock volume as a bar chart using matplotlib in a data frame, showcasing the order of execution and the suggestion to include a youtube video link for explaining stock to beginners.', 'duration': 96.167, 'highlights': ['The order of execution is indicated by the numbers, such as 13 and 10, representing the sequence of code execution.', 'Demonstrates how to plot stock volume as a bar chart using Matplotlib in a data frame.', 'Suggests including a YouTube video link to explain stock to beginners.']}, {'end': 1138.389, 'start': 916.214, 'title': 'Embedding youtube video and using markdown in jupyter notebook', 'summary': 'Demonstrates how to embed a youtube video and use markdown in a jupyter notebook to create explanatory text and format it using markdown properties such as bold, list, headers, and italics.', 'duration': 222.175, 'highlights': ['The chapter demonstrates how to embed a YouTube video and use markdown in a Jupyter notebook. It explains the process of embedding a YouTube video and inserting explanatory text in a Jupyter notebook.', 'Creating explanatory text and formatting it using markdown properties such as bold, list, headers, and italics. It explains how to use markdown properties like bold, list, headers, and italics to format explanatory text in a Jupyter notebook.', 'Demonstrates the use of markdown properties like bold, list, headers, and italics to format explanatory text. It highlights the demonstration of using markdown properties such as bold, list, headers, and italics to format explanatory text in a Jupyter notebook.', 'Explanation of how to embed a YouTube video in a Jupyter notebook. It provides guidance on embedding a YouTube video within a Jupyter notebook.']}], 'duration': 318.342, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc820047.jpg', 'highlights': ['Demonstrates how to plot stock volume as a bar chart using Matplotlib in a data frame.', 'Suggests including a YouTube video link to explain stock to beginners.', 'Demonstrates the use of markdown properties like bold, list, headers, and italics to format explanatory text.', 'The chapter demonstrates how to embed a YouTube video and use markdown in a Jupyter notebook.']}, {'end': 1447.847, 'segs': [{'end': 1202.186, 'src': 'heatmap', 'start': 1172.552, 'weight': 0.8, 'content': [{'end': 1184.245, 'text': 'so I will go to here and just put a image tag.', 'start': 1172.552, 'duration': 11.693}, {'end': 1192.28, 'text': "So I have image tag where the image location is whatever I copied from Panda's website.", 'start': 1185.816, 'duration': 6.464}, {'end': 1194.401, 'text': 'And I have some styling on that.', 'start': 1192.72, 'duration': 1.681}, {'end': 1197.884, 'text': 'And I have, again, the same heading.', 'start': 1195.362, 'duration': 2.522}, {'end': 1202.186, 'text': 'So when you run this, so this particular thing is not needed now.', 'start': 1199.164, 'duration': 3.022}], 'summary': 'Adding an image tag with styling and duplicate heading, no longer needed.', 'duration': 29.634, 'max_score': 1172.552, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc1172552.jpg'}, {'end': 1243.429, 'src': 'embed', 'start': 1216.118, 'weight': 0, 'content': [{'end': 1219.179, 'text': 'So when you double-click on it, you will see a little pencil icon here.', 'start': 1216.118, 'duration': 3.061}, {'end': 1221.259, 'text': 'Also, you will see your cursor here.', 'start': 1219.719, 'duration': 1.54}, {'end': 1222.659, 'text': "So that's when you can type it in.", 'start': 1221.279, 'duration': 1.38}, {'end': 1231.361, 'text': 'And when you execute using this cell or Alt-Enter, it will show the final output.', 'start': 1223.459, 'duration': 7.902}, {'end': 1236.922, 'text': 'I have this extra cell, which I can remove using this Rx shortcut.', 'start': 1232.121, 'duration': 4.801}, {'end': 1238.543, 'text': 'Okay, excellent.', 'start': 1237.802, 'duration': 0.741}, {'end': 1243.429, 'text': 'So I have this pandas tutorial notebook ready.', 'start': 1238.563, 'duration': 4.866}], 'summary': 'Pandas tutorial notebook with editing and execution features, ready for use.', 'duration': 27.311, 'max_score': 1216.118, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc1216118.jpg'}, {'end': 1309.23, 'src': 'embed', 'start': 1274.339, 'weight': 1, 'content': [{'end': 1283.271, 'text': 'so it So that dumped the output into HTML file.', 'start': 1274.339, 'duration': 8.932}, {'end': 1288.482, 'text': 'And if I open the HTML file, you will see this is how it looks.', 'start': 1283.331, 'duration': 5.151}, {'end': 1297.328, 'text': 'you can see that this is an html file, so i can give this html file to anyone who wants to learn it.', 'start': 1290.126, 'duration': 7.202}, {'end': 1303.549, 'text': 'okay, you can also output your jupyter notebook as a python file.', 'start': 1297.328, 'duration': 6.221}, {'end': 1309.23, 'text': 'so, for example, you have a bunch of python code here and you want to output it in python file.', 'start': 1303.549, 'duration': 5.681}], 'summary': 'Demonstrates outputting to html and python files for sharing and distribution.', 'duration': 34.891, 'max_score': 1274.339, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc1274339.jpg'}, {'end': 1438.799, 'src': 'embed', 'start': 1403.666, 'weight': 3, 'content': [{'end': 1407.068, 'text': 'So IPYNB is your basically IPython notebook.', 'start': 1403.666, 'duration': 3.402}, {'end': 1415.691, 'text': 'Uh, so whenever you see any file, which has this extension IPYNB, uh, it is basically your, uh, Jupyter notebook.', 'start': 1407.908, 'duration': 7.783}, {'end': 1420.79, 'text': 'okay, so that was all about jupiter tutorial.', 'start': 1416.468, 'duration': 4.322}, {'end': 1428.873, 'text': 'there are many other interesting features, but we are not able to cover them in this video,', 'start': 1420.79, 'duration': 8.083}, {'end': 1438.799, 'text': 'but at least i hope that this tutorial will get you started and you will be able to build notebooks on your own.', 'start': 1428.873, 'duration': 9.926}], 'summary': 'Ipynb is an ipython notebook used in jupyter. tutorial helps start building notebooks.', 'duration': 35.133, 'max_score': 1403.666, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc1403666.jpg'}], 'start': 1138.389, 'title': 'Using and exporting jupyter notebooks', 'summary': 'Covers using pandas in jupyter notebook, including inserting the pandas logo, editing and removing cells resulting in a completed tutorial. it also explores exporting jupyter notebook to html and python file formats for sharing and running python code. additionally, it introduces jupyter notebooks, explains accessing interesting notebooks via google, and the format of jupyter notebooks as ipynb.', 'chapters': [{'end': 1243.429, 'start': 1138.389, 'title': 'Using pandas in jupyter notebook', 'summary': 'Describes the process of inserting the pandas logo in a jupyter notebook, editing cells, and removing unnecessary cells, resulting in a completed pandas tutorial notebook.', 'duration': 105.04, 'highlights': ["The chapter provides instructions on inserting the pandas logo in a Jupyter Notebook, by changing cell type to markdown, and using an image tag with the PNG file address copied from the Panda's website.", 'It explains the process of editing cells by double-clicking on them, and executing using a specific cell or Alt-Enter, along with the option to remove extra cells using the Rx shortcut.', 'The tutorial results in a completed pandas tutorial notebook, ready for use.']}, {'end': 1344.824, 'start': 1243.889, 'title': 'Exporting jupyter notebook', 'summary': 'Explores the process of exporting a jupyter notebook to html and python file formats, demonstrating the ability to share content through html and run python code from the exported file.', 'duration': 100.935, 'highlights': ['The chapter demonstrates exporting a Jupyter Notebook to HTML and Python file formats, enabling the sharing of content and execution of Python code from the exported file.', "Exporting a Jupyter Notebook to HTML allows for easy sharing of the content with others, providing a visual representation of the notebook's output.", 'The process of exporting a Jupyter Notebook to a Python file enables the preservation of the Python code for execution outside the notebook environment.', 'The chapter mentions the availability of other output formats such as PDF and MD, expanding the range of options for sharing the notebook content.']}, {'end': 1447.847, 'start': 1346.385, 'title': 'Exploring jupyter notebooks', 'summary': 'Introduces jupyter notebooks, explains how to access interesting jupyter notebooks via google, and highlights the format of jupyter notebooks as ipynb, providing viewers with the ability to start building their own notebooks.', 'duration': 101.462, 'highlights': ["The chapter shows how to access interesting Jupyter notebooks via Google by typing 'Jupyter notebook gallery', providing viewers with an easy way to explore different notebooks.", 'The chapter explains the format of Jupyter notebooks as IPYNB, indicating that any file with this extension is a Jupyter notebook, offering viewers a clear understanding of the file format.', 'The chapter mentions the availability of many other interesting features in Jupyter notebooks, although not covered in the video, encouraging viewers to further explore the tool.', 'The chapter encourages viewers to engage with the tutorial content by liking, sharing, and commenting, fostering interaction and feedback from the audience.']}], 'duration': 309.458, 'thumbnail': 'https://coursnap.oss-ap-southeast-1.aliyuncs.com/video-capture/EEEZX_0FMEc/pics/EEEZX_0FMEc1138389.jpg', 'highlights': ['The tutorial results in a completed pandas tutorial notebook, ready for use.', "Exporting a Jupyter Notebook to HTML allows for easy sharing of the content with others, providing a visual representation of the notebook's output.", 'The process of exporting a Jupyter Notebook to a Python file enables the preservation of the Python code for execution outside the notebook environment.', 'The chapter explains the format of Jupyter notebooks as IPYNB, indicating that any file with this extension is a Jupyter notebook, offering viewers a clear understanding of the file format.']}], 'highlights': ['Jupyter notebook allows combining live code, visualizations, and explanatory text, providing an interactive environment for data analysis and sharing research.', 'The live code feature in Jupyter notebook enables interactive code editing and result visualization, facilitating real-time code changes and immediate feedback.', 'The ability to share research and results with others is highlighted as a key benefit of using Jupyter notebook for data analysis.', 'Installing Anaconda is highly recommended as it includes Jupyter Notebook and provides additional benefits.', "The chapter emphasizes the importance of installing Anaconda for obtaining Jupyter Notebook and additional 'goodies' for free.", 'Using pandas library to retrieve live stock prices and display as a table and chart The tutorial demonstrates using the pandas Python module to retrieve live stock prices and display them as a table and chart, providing interactive access to live data within the notebook.', "Launching Jupyter notebook from a specific working directory The command 'jupyter notebook' launches the Jupyter notebook from the specified working directory, allowing for easy access to the saved files in that directory.", 'There are two ways to install Jupyter Notebook: via Anaconda or using pip; Anaconda installation is automatic while pip installation requires a separate command.', 'Jupyter notebook architecture: front-end, server, and kernel The Jupyter notebook consists of a front-end UI running in a web browser, a server that communicates with the UI and a kernel to execute the code, forming the architecture of the notebook system.', 'Utilizing shortcuts and magic commands in Jupyter Notebook can significantly enhance productivity and efficiency in code development, ultimately leading to time savings and improved workflow.', "The 'percentage system' magic command allows running Unix commands within the Jupyter Notebook, enabling users to perform system operations and quickly access information about the current working directory and available files.", "The 'percentage time magic' command can measure the performance of a Python statement execution, such as measuring the time taken for a for loop to execute, providing valuable insights for code optimization.", "The manual options for manipulating cells in Jupyter Notebook include removing, inserting, and cutting cells, with keyboard shortcuts 'a' and 'b' for inserting cells above and below.", "The keyboard shortcut 'X' is used to cut a cell in Jupyter Notebook.", 'Demonstrates how to plot stock volume as a bar chart using Matplotlib in a data frame.', 'Suggests including a YouTube video link to explain stock to beginners.', 'Demonstrates the use of markdown properties like bold, list, headers, and italics to format explanatory text.', 'The chapter demonstrates how to embed a YouTube video and use markdown in a Jupyter notebook.', 'The tutorial results in a completed pandas tutorial notebook, ready for use.', "Exporting a Jupyter Notebook to HTML allows for easy sharing of the content with others, providing a visual representation of the notebook's output.", 'The process of exporting a Jupyter Notebook to a Python file enables the preservation of the Python code for execution outside the notebook environment.', 'The chapter explains the format of Jupyter notebooks as IPYNB, indicating that any file with this extension is a Jupyter notebook, offering viewers a clear understanding of the file format.']}