Unable to use pandas or math package

I tried to use methods from pandas package and math package but they are throwing name error, even though I have properly imported the packages.

import math
import pandas as pd

Below are the errors that I’m getting:

[BT] [2021-02-05 09:15:00] [CRITICAL] [tls] Dumping Debug Stack to Python friendly Traceback Format for Python Build Customers: Uncaught exception | Exception Class: <class 'NameError'> | Exception Details: name 'math' is not defined | Traceback Below:
  File "/apps/strategy_dir_16147591562274837/strategy.py", line 74, in opt_renko
    number_of_blocks = math.floor((min_open_close - candle['close']) / size)


[BT] [2021-02-05 09:15:00] [CRITICAL] [tls] Dumping Debug Stack to Python friendly Traceback Format for Python Build Customers: Uncaught exception | Exception Class: <class 'NameError'> | Exception Details: name 'pd' is not defined | Traceback Below:
  File "/apps/strategy_dir_16147953912284026/strategy.py", line 81, in opt_renko
    return pd.DataFrame(blocks)

Hi @shakthi_jagdish,

I have notified the team, and I will revert ASAP.

Cheers!
` aki

Hi @shakthi_jagdish,

Kindly change the versions_supported() method to include VERSION_3_3_0.

The updated code should look as follows:

@staticmethod
def versions_supported():
    return AlgoBullsEngineVersion.VERSION_3_3_0

Now, pandas and math package should be available to you. You need not use the import statements explicitly.

Let me know if this works.
Also, do reach out again in case of any further issues.

Cheers!
` aki