daniel_sahal
Databricks MVP

I think that you're mixing DataFrames spark vs. pandas.

Try creating dfSource in Spark instead of Pandas.