pyspark.sql.Column.endswith

列。 endswith ( 其他:联盟(,LiteralType,DecimalLiteral,DateTimeLiteral] )→列

字符串结尾。返回一个布尔值基于字符串匹配。

参数
其他 或str

字符串行结束(不使用一个正则表达式美元)

例子

> > >df过滤器(df的名字endswith(“冰”))收集()行(= 2岁name = '爱丽丝'))> > >df过滤器(df的名字endswith(“冰美元”))收集()[]