Python node: More than one type in column. Found int and float

Hi all,

I run a little script in the Python node. It runs smoothly in de editor mode but if I run the script in the flow it generates an error (see subject line).

It looks it’s not a Python error but a KNIME one. If I run it without “outputtable1 = all_df.copy()” it runs smoothly (of course not sending no data to the output port)

Soneone an idea what’s going wrong?

This is the script I run

= = = = = = =

##

Copy input to output

#outputtable1 = inputtable1.copy()

import pandas as pd

from yahooquery import Ticker

funds = [‘fb’, ‘aapl’, ‘amzn’, ‘nflx’, ‘goog’]

ticker_def = Ticker(funds, asynchronous=True)

print(type(ticker_def))

all = ticker_def.price

all_df = pd.DataFrame(all)

print(all_df)

outputtable1 = all_df.copy()

= = = = = = =