<jupyter_start><jupyter_text>A demo of some very basic features of Jupyter notebooks.Author: <NAME> (<EMAIL>)Made for the CfA Jupyter Workshop at Wolbach Library, 12/7/2016  Setup<jupyter_code>print 'hello world!'
%matplotlib inline
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0,10,1000)
y = np.sin(x)<jupyter_output><empty_output><jupyter_text>Plotting The following is a plot of $f(x) = \sin(x)$:<jupyter_code>plt.plot(x,y)<jupyter_output><empty_output><jupyter_text>Timing<jupyter_code>%timeit np.random.rand(100000)
%%timeit
a = np.random.rand(100000)
b = np.fft.fft(a)<jupyter_output>100 loops, best of 3: 3.88 ms per loop
{'fraction_non_alphanumeric': 0.1276923076923077, 'fraction_numerical': 0.05076923076923077, 'mean_word_length': 7.037037037037037, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '78217', 'license': 'MIT', 'n_tokens_mistral': 292, 'n_tokens_neox': 261, 'n_words': 60, 'path': '2016/2016-12-07-jupyter/intro.ipynb', 'repo_name': 'CfA-Library/Training', 'size': '677'}