Sign inSign up

testerq/jupyter

By testerq

•Updated almost 7 years ago

jupyter notebook

Image
0

2.5K

testerq/jupyter repository overview

⁠Docker Jupyter

  • jupyter
  • jupyterhub
  • numpy
  • scipy
  • pandas
  • matplotlib
  • seaborn
  • pyspark 2.1.2

⁠Use by Web

⁠Run


$ docker run --p 8000:8888 -d --name jupyter -v "$PWD":/home/jovyan/work testerq/jupyter
$ docker logs -f jupyter

⁠Login


http://127.0.0.1:8000⁠

⁠Demo


click new->python3

%matplotlib notebook
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
ts.plot()

⁠Use by CLI

⁠Run


$ docker run --net host -it --name jupyter testerq/jupyter cli 172.16.5.112

⁠Demo


>>>ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
ts = ts.cumsum()
ts.plot()
plt.show()

⁠扫一扫关注微信公众号

Image of wechat

Tag summary

Content type

Image

Digest

Size

2.4 GB

Last updated

almost 7 years ago

docker pull testerq/jupyter