标签: python-2.7 encoding
尝试dsJoin.groupBy("transID").agg(functions.max("subSeq"),functions.first("principal")).show(); 进入python shell时出现以下错误:
dsJoin.groupBy("transID").agg(functions.max("subSeq"),functions.first("principal")).show();
我已尝试像其他来源中所建议的那样,将import nltk添加到上述脚本中,但没有帮助。
import nltk