Skip to content

Commit 02cb61a

Browse files
author
Davies Liu
committed
fix tests
1 parent 3b09d31 commit 02cb61a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

python/pyspark/sql/dataframe.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,13 +484,12 @@ def dtypes(self):
484484
return [(str(f.name), f.dataType.simpleString()) for f in self.schema.fields]
485485

486486
@property
487-
@ignore_unicode_prefix
488487
@since(1.3)
489488
def columns(self):
490489
"""Returns all column names as a list.
491490
492491
>>> df.columns
493-
[u'age', u'name']
492+
['age', 'name']
494493
"""
495494
return [f.name for f in self.schema.fields]
496495

0 commit comments

Comments
 (0)