This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--------------------------------------------------------------------------- | |
Py4JJavaError Traceback (most recent call last) | |
<command-361418500356831> in <module>() | |
6 return df[df['first']=="9"] | |
7 | |
----> 8 return_df = df.groupby("second").apply(filter_pandas).count() | |
9 print(return_df) | |
/databricks/spark/python/pyspark/sql/dataframe.py in count(self) | |
455 2 |