Skip to content
Snippets Groups Projects
Commit 699906e5 authored by kaka1992's avatar kaka1992 Committed by Reynold Xin
Browse files

[SPARK-7394][SQL] Add Pandas style cast (astype)

Author: kaka1992 <kaka_1992@163.com>

Closes #6313 from kaka1992/astype and squashes the following commits:

73dfd0b [kaka1992] [SPARK-7394] Add Pandas style cast (astype)
ad8feb2 [kaka1992] [SPARK-7394] Add Pandas style cast (astype)
4f328b7 [kaka1992] [SPARK-7394] Add Pandas style cast (astype)
parent 6e534026
No related branches found
No related tags found
No related merge requests found
...@@ -302,6 +302,8 @@ class Column(object): ...@@ -302,6 +302,8 @@ class Column(object):
raise TypeError("unexpected type: %s" % type(dataType)) raise TypeError("unexpected type: %s" % type(dataType))
return Column(jc) return Column(jc)
astype = cast
@ignore_unicode_prefix @ignore_unicode_prefix
@since(1.3) @since(1.3)
def between(self, lowerBound, upperBound): def between(self, lowerBound, upperBound):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment