getting error when creating new data functio using python

Could not execute function call.

Problem executing python script: Traceback (most recent call last):

  File "C:\Users\KAUSHALK\AppData\Local\Temp\tmp86E5.py", line 1, in <module>

    from Python_Data_Function import *

  File "C:\Users\KAUSHALK\AppData\Local\Temp\Python_Data_Function.py", line 9, in <module>

    import pandas as pd

  File "C:\ProgramData\Anaconda3\lib\site-packages\pandas\__init__.py", line 19, in <module>

    "Missing required dependencies {0}".format(missing_dependencies))

ImportError: Missing required dependencies ['numpy']

   at SpotfirePS.DataFunctions.Python.PythonDataFunctionExcecutor.<ExecuteFunctionCore>d__2.MoveNext()

   at Spotfire.Dxp.Application.Extension.CustomDataFunctionExecutor.<Spotfire-Dxp-Data-DataFunctions-IFunctionExecutor-ExecuteFunction>d__5.MoveNext()

   at Spotfire.Dxp.Data.DataFunctions.DataFunctionExecutorService.<ExecuteFunction>d__3.MoveNext()

 

Login