# this will always import correctly on Binder because it's a Python builtin
import math
# importing these will fail online (not builtins or in a dependencies file)
import levenshtein
--------------------------------------- ModuleNotFoundErrorTraceback (most recent call last) <ipython-input-4-9008738cf3a6> in <module> 1 # importing these will fail online (not builtins or in a dependencies file) 2 ----> 3 import levenshtein ModuleNotFoundError: No module named 'levenshtein'
import lxml
# this would also fail ordinarily but here it has been declared in a requirements.txt file
import pandas as pd
a = 6
b = 3
print (a + b)
9
df = pd.read_csv('data_nb.csv')
df[:3]
col_one | col_two | col_three | |
---|---|---|---|
0 | 1 | 354 | 323 |
1 | 2 | 327 | 322 |
2 | 3 | 341 | 308 |