logo

Crowdly

Browser

Add to Chrome

Код: data = [('A', 1), ('A', 1), ('B', 1)] df = spark.createDataFrame...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Код:

data = [('A', 1), ('A', 1), ('B', 1)]

df = spark.createDataFrame(data, ['k', 'v'])

res = df.distinct().count()

Яким буде результат

res?
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on veem.nltu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome