Unresolved reference while trying to import col from pyspark.sql.functions in python 3.5 -


refer post here: spark structured streaming python import 'col' in python 3.5

from pyspark.sql.functions import col 

however got error saying unresolved reference col. i've installed pyspark library, wondering has 'col' been removed pyspark library? , how can import 'col' then.

it turns out intellij idea's problem. though shows unresolved reference, program still runs without problem in command line.


Comments

Popular posts from this blog

vue.js - Create hooks for automated testing -

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

serial port - hub4com OVERRUN Error -