Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
fastai
GitHub Repository: fastai/fastbook
Path: blob/master/clean/app_jupyter.ipynb
492 views
Kernel: Python 3
#hide ! [ -e /content ] && pip install -Uqq fastbook import fastbook fastbook.setup_book()
from fastbook import *

Appendix: Jupyter Notebook 101

Introduction

1+1

Writing

3/2

Modes

Other Important Considerations

Markdown Formatting

Headings

Lists

Code Capabilities

# Import necessary libraries from fastai.vision.all import * import matplotlib.pyplot as plt
from PIL import Image
a = 1 b = a + 1 c = b + a + 1 d = c + b + a + 1 a, b, c ,d
plt.plot([a,b,c,d]) plt.show()
Image.open(image_cat())

Running the App Locally

Creating a Notebook

Shortcuts and Tricks

Command Mode Shortcuts

Cell Tricks

Line Magics

%timeit [i+1 for i in range(1000)]