book
Article ID: KB0073005
calendar_today
Updated On:
Description
To resolve the Python Notebook error "name 'cc' is not defined" refer to this article.
Resolution
This error may occur because the user might have upgraded the Python package pandas either manually or while upgrading other packages pandas got upgraded to the latest version automatically.
To resolve this issue user needs to downgrade the pandas version to TIBCO Data Science Team Studio Supported version.
Refer following TIBCO Data Science Team Studio documentation for the supported pandas version:
https://docs.tibco.com/pub/sfire-dsc/6.6.0/doc/html/TIB_sfire-dsc_6.6.0_install-admin/GUID-9367E935-2B9E-49CC-B248-516E1BB6B460.html https://docs.tibco.com/pub/sfire-dsc/6.5.0/doc/html/TIB_sfire-dsc_6.5.0_install-admin/GUID-9367E935-2B9E-49CC-B248-516E1BB6B460.html #To check pandas version from Python Notebook:
import pandas as pd
print(pd.__version__)
#To downgrade pandas version from Python Notebook:
pip install pandas==0.24.0
OR
conda install pandas==0.24.0
Issue/Introduction
Python Notebook fails with error "name 'cc' is not defined".