pyspark.pandas.Index.drop# Index.drop(labels)[source]# Make new Index with passed list of labels deleted. Parameters labelsarray-like Returns droppedIndex Examples >>> index = ps.Index([1, 2, 3]) >>> index Index([1, 2, 3], dtype='int64') Copy to clipboard >>> index.drop([1]) Index([2, 3], dtype='int64') Copy to clipboard