Skip to content

Commit

Permalink
fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gatorsmile committed Feb 13, 2018
1 parent 6d7c383 commit 494dccd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/pyspark/sql/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,6 @@ class StructType(DataType):
Iterating a :class:`StructType` will iterate its :class:`StructField`\\s.
A contained :class:`StructField` can be accessed by name or position.
.. note:: `names` attribute is deprecated in 2.3. Use `fieldNames` method instead
to get a list of field names.
>>> struct1 = StructType([StructField("f1", StringType(), True)])
>>> struct1["f1"]
StructField(f1,StringType,true)
Expand Down

0 comments on commit 494dccd

Please sign in to comment.