Github user GayathriMurali commented on a diff in the pull request:
https://github.com/apache/spark/pull/8647#discussion_r38949240
--- Diff: python/pyspark/sql/column.py ---
@@ -329,6 +329,8 @@ def cast(self, dataType):
[Row(ages=u'2'), Row(ages=u'5')]
>>> df.select(df.age.cast(StringType()).alias('ages')).collect()
[Row(ages=u'2'), Row(ages=u'5')]
+
+ (Note : astype is alias for cast)
--- End diff --
I built and checked the html page. The note appears in both places. Its an
alias and the inline documentation is repeated in both places.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]