Python script error: BDC is null

I am trying to execute a basic Python script.

The following error is being raised on execution. Execute failed: Cannot invoke “org.knime.core.node.BufferedDataContainer.close()” because “bdc” is null

It is not clear to me how to fix this. Any suggestions would be helpful.

import pandas as pd

Create a simple DataFrame

data = {‘Column1’: [1, 2, 3], ‘Column2’: [‘A’, ‘B’, ‘C’]}

output_table = pd.DataFrame(data)

Thanks,

Marc.