xinrong-meng commented on code in PR #48256:
URL: https://github.com/apache/spark/pull/48256#discussion_r1776476180


##########
python/pyspark/sql/plot/core.py:
##########
@@ -299,3 +300,28 @@ def area(self, x: str, y: str, **kwargs: Any) -> "Figure":
         >>> df.plot.area(x='date', y=['sales', 'signups', 'visits'])  # 
doctest: +SKIP
         """
         return self(kind="area", x=x, y=y, **kwargs)
+
+    def pie(self, x: str, y: str, **kwargs: Any) -> "Figure":
+        """
+        Generate a pie plot.
+
+        A pie plot is a proportional representation of the numerical data in a

Review Comment:
   Good idea! Added.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to