206x Filetype PDF File size 0.27 MB Source: www.edureka.co
JUPYTER NOTEBOOK CHEAT SHEET Learn PYTHON from experts at https://www.edureka.co Jupyter Notebook Keyboard Shortcuts Execute Cells Jupyter Notebook is an open-source web application that allows Command Description you to create and share documents that contain live code, enter Java Exceptions enter edit mode Run Current Run Selected equations, visualizations and narrative text. It is used for data Cells down & Cells cleaning and transformation, numerical simulation, statistical Command + a; Command + c; Command + v select all; copy; paste create one Run Current modeling, data visualization, machine learning, and much more. Built-in Exceptions User -DefinedExceptions below Cells down & Saving/Loading Notebook Command + z; Command + y undo; redo Run all Cells create one Command + s save and checkpoint Run all Cells above Command + b; Command + a insert cell below; insert cell above above the Run all Cells current one below current Create new Shift + Enter run cell, select below one Open an existing Notebook Change the Notebook Shift + m merge cells Toggle & clear cell type Make copy of the Command + ]; Command + [ indent; dedent current Toggle & clear current Notebook outputs all outputs Save Current Ctrl + Enter run cell Notebook Rename current Option + Return run cell, insert cell below Save Current Notebook Escape enter command mode Kernel Cells Notebook & record Checkpoint Revert Notebook to a Escape + d + d delete selected cell previous Checkpoint Escape + y change cell to code Preview of the Escape + m change cell to markdown Interrupt printed Notebook Download Notebook Restart kernel as-IPython Notebook Escape + r change cell to raw Kernel Python Escape + 1 change cell to Heading 1 Interrupt kernel HTML Escape + n change cell to heading n Restart Kernel & Clear all Close Notebook & Markdown & Run all cells output stop running scripts PDF Escape + b create cell below Reconnect to Escape + a Insert cell above Shutdown all a remote Edit Cells cells Notebook Run other Magic Commands installed kernels Cut the selected cells Copy cells from to Clipboard Widgets Clipboard to current Paste cells above Statement Explanation Example position current cell Paste cells below Paste cells on top of %magic Comprehensively lists and %magic current cell current cell explains magic functions Delete cells Revert ‘Delete cells’ Save invocation %automa When active, enables you Notebook Split up cell from to call magic functions %automagic Clear with current position Merge current cell gic Notebook Interactive with above without the ‘%’ with widget Merge current cell Interactive with below %quickref Launch IPython quick %quickref widget Move current cell up reference Download Move current cell Embed all widget down Pastebins lines from %pastebin 3 current models in Adjust Metadata %pastebin your current session. 18-20 ~1/1-5 widgets use underlying the Find and replace in current Notebook selected cells %debug Enters the interactive %debug Remove cell debugger Copy attachments of attachments current cell %hist Print command input %hist Help Paste attachments of and output history Insert image in current cell selected cells Automatically enter python %pdb debugger after any %pdb View Cells exception Opens up a special prompt %cpaste for manually pasting Python %cpaste Walk Built-in through a code for execution keyboard UI Tour Toggle display Delete all variables and shortcuts Edit the Toggle display of Jupyter logo Built-in of Toolbar & Filename %reset names defined in the %reset keyboard current namespace Notebook shortcuts Toggle line help topics Markdown Toggle display numbers in Run a python script available in of cell action cell %run inside a notebook %run script.py Notebook icons Python help %who, Display variables defined in %who, topics %who_ls, the interactive namespace, %who_ls, IPython Insert Cells with NumPy help topics %whos varying levels of verbosity %whos help topics SciPy help Delete a variable in the topics Matplotlib %xdel local namespace. Clear any %xdel variable help topics SymPyhelp references to that variable topics Pandas In [561]: %time help topics Add new cell method = [a for About Add new cell above the Jupyter below the current one %time Times a single statement a in data if Notebook current one b.startswith(‘htt p’)]
no reviews yet
Please Login to review.