Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix.
  • Loading branch information
gatorsmile committed Feb 13, 2018
commit 494dccd00217355f5277a65776a2768e3bab80ec
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