What does the drop parameter actually does in set_index function in the pandas library?
drop = True means, the column is dropped from the dataframe after setting it as the index.
If drop = False, the column is not dropped.
What does the drop parameter actually does in set_index function in the pandas library?
drop = True means, the column is dropped from the dataframe after setting it as the index.
If drop = False, the column is not dropped.
Comments
0 comments
Article is closed for comments.