In PySpark, what is the difference between df.select('a','b') and df.drop('c') on a DataFrame with columns a, b, c?
- ABoth return columns a and b
- Bselect returns a and b; drop returns all columns except c, which here is a and b
- CBoth produce errors
- Ddrop removes rows, not columns