You can use the apply method of a pandas dataframe along with the drop_duplicates method to keep only unique values of each column. Here's an example code snippet that demonstrates this:
main.py362 chars17 linesThis will output the following dataframe, which contains the unique values of each column:
main.py56 chars5 lines
gistlibby LogSnag