In Jupyter Notebook, I am trying to divide a column of a dataframe by 10, but this is the error that I am getting:
import pandas as pd
df = pd.DataFrame({'A':[20, 20.25], 'B':[70, 41]})
df['A'] = df['A']/10
8 try:
9 import numexpr as ne
---> 10 ver = LooseVersion(ne.__version__)
11 _NUMEXPR_INSTALLED = ver >= LooseVersion(_MIN_NUMEXPR_VERSION)
12 _NUMEXPR_VERSION = ver
AttributeError: module 'numexpr' has no attribute '__version__'
Anybody knows why this is happening and how to fix it. I suspect is a pandas issue.