Open with one click!
In [13]:
from __future__ import print_function import nltk import sklearn #from pyspark import SparkFiles #from pyspark import SparkConf, SparkContext import torch print ('The nltk version is {}.'.format(nltk.__version__)) print ('The scikit-learn version is {}.'.format(sklearn.__version__)) print( "blah2018_04_06") torch.version.__version__
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-13-41e34be1b55f> in <module> 3 import nltk 4 import sklearn ----> 5 from pyspark import SparkFiles 6 #from pyspark import SparkConf, SparkContext 7 ModuleNotFoundError: No module named 'pyspark'
In [2]:
from plotly import __version__ print (__version__)
4.14.1
In [3]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [4]:
from plotly.offline import download_plotlyjs,init_notebook_mode,plot,iplot
In [5]:
init_notebook_mode(connected=True)
In [6]:
#import plotly.plotly as py #import cufflinks as cf import pandas as pd import numpy as np #print (cf.__version__)
In [7]:
import tensorflow as tf hello = tf.constant('Yo bro') #sess = tf.Session() #sess.run(hello) hello
<tf.Tensor: shape=(), dtype=string, numpy=b'Yo bro'>
In [8]:
print (tf.__version__)
2.3.0
In [9]:
a = tf.constant(10) b = tf.constant(32) #sess.run(a + b) print(a,b)
tf.Tensor(10, shape=(), dtype=int32) tf.Tensor(32, shape=(), dtype=int32)
In [10]:
#sess.close()
In [11]:
print(pd.__version__)
1.1.5
In [12]:
print (np.__version__)
1.18.5
In [14]:
import seaborn as s
In [15]:
print (s.__version__)
0.11.1
In [ ]: