2 through 5 - Open Source Tools, etc (2, IBM DS)
Jupyter; how do you delete cells? (click, edit ribbon, delete cells)
- click, edit ribbon, delete cells - short cut; D, D
jupyter notebook; what the different cell types are there? (code, markdown, raw)
- code; executable code - markdown; markdown formatted text - raw; plain text
how do you know if a file is a Jupyter Notebook? (.ipynb extension)
.ipynb extension
a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere (github)
GitHub
Hypertext Markup Language, a standardized system for tagging text files to achieve font, color, graphic, and hyperlink effects on World Wide Web pages (HTML)
HTML
What is a Jupyter Notebook kernel?
It is a wrapper running on the Jupyter server encapsulating the programming language interpreter
what does Jupyter stand for? (JUlia, PYthon, R); however it supports many programming languages
JUlia, PYthon, R
a web application used to create and share documents that contain live code, visualizations, and marked-up text and equations (Jupyter Notebook)
Jupyter Notebook
if you come across a '.ipynb' extension, how can you view it? (NB-viewer)
NB-viewer; this is bookmarked
when using a jupyter notebook, what is the 'client'? (browser)
browser
Jupyter; how do you add code to a new cell? (click the '+' symbol)
click the '+' symbol
in the jupyter notebook; how do you switch to a different kernel (click the current kernel in the top right)
click the current kernel in the top right
Jupyter; how do you work on multiple files at once? (click the plus symbol on the left hand side)
click the plus symbol on the left hand side
Jupyter; how do you shutdown your session? (click the stop icon on the far right side)
click the stop icon on the far right side; can either shut down all sessions at once, or individually
Jupyter; how do you move cells? (click, edit ribbon, move cells up / down)
click, edit ribbon, move cells up / down
this is the 'interface' offering the user the ability to send code to the 'kernel' (client)
client
a jupyter notebook 'kernel' is a computational engine that executes the ________ (code) contained in a Notebook file
executes the code contained in the notebook file; kernel
this executes the code, and returns the result to the 'client' for display (kernel)
kernel
Jupyter; making a table; what cell type does this need to be in? (markdown)
markdown
data that describes other data (metadata)
metadata
Jupyter; how do you know your session is shut down? (notebook will say 'no kernel' in top right of notebook)
notebook will say 'no kernel' in top right of notebook
Jupyter; how do you get an output from a code cell? (place curser in cell, run tab, click run selected cells)
place curser in cell, run tab, click run selected cells; or the shortcut is 'shift, enter'
Jupyter Notebook; when you 'run the code' it automatically generates plots and __________ (tab) within the file
plots and tables
these store documents including source code; enable version control (repositories)
repositories
a computer that manages access to a centralized resource or service in a network (server)
server
when you save the file, it is sent from your browser, to the 'notebook server'. Which saves the notebook file on a disc as a JSON file with a '.ipynb' extension
the notebook server is responsible for saving and loading the notebooks. The kernel gets sent the cells of code when the user runs them
in the jupyter notebook; where can you look to see what type of 'kernel' it is? (top right)
top right
'master branch' contains the finished, deployable version of the code
true
Git; distributed version control system; focused on tracking source code during development; supports non-linear workflows
true
GitHub is the online hosting service for Git repositories
true
GitHub; a 'pull request' is a way to notify other team members of the changes and edits to the main branch
true
GitHub; a branch is a snapshot of your repository to which you can make changes
true
GitHub; in the 'child branch', you can build, make edits, test the changes, and then merge them with the 'master branch'
true
GitHub; repositories are storage structures that: hold code, track issues, enable you to collaborate with others
true
Jupyter Notebook is free and open source
true
Jupyter Notebook; allows you to combine 'text' and 'code block' in a single file
true
Jupyter Notebook; can be exported as a 'pdf' and 'html' file
true
Jupyter; You can write HTML code in your Markdown cells. We can embed links
true
Jupyter; making a table; after you have the headers in, all subsequent rows do not need the 'dashes'
true
JupyterLab, is a newer version of Jupyter Notebook, and enables you to work with many different type of programming language files
true
JupyterLab; interactive environment for Jupyter Notebooks, allows for real time editing, is compatible with several file formats, and is open source
true
create new branches for changes to code; and save those changes using 'commits'
true
jupyter implements a two-process model, with a 'kernel' and a 'client'
true
jupyter notebooks is used to represent code, metadata, contents and outputs
true
python and jupyter notebook is 'open source'
true
the 'python kernel', via a jupyter notebook, allows you to run python cells
true
use 'pull requests' to share code changes for review; merge back into 'master branch' when the code is ready to deploy
true
when you launch a jupyter notebook, you have the option to select which language you want to work in
true
with notebook files; you have the capability to convert it to other file formats, such as HTML
true
present your jupyter notebook; how do you add a 'markdown' (with notebook highlighted, click the dropdown bar, select 'markdown')
with notebook highlighted, click the dropdown bar, select 'markdown'
Jupyter; making a table; how do you create the headers? Example
| header | header | | ------ | ------ |
Jupyter; making a table; how do you create the headers? (|header|header|)
|header|header| ; you don't need spaces in between; also, after that you put up the 'divider' (|) and put in '5 dashes'