Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11631

Within a Pandas dataframe, how to filter so that the columns only display unique values and exclude numeric ranges from this?

$
0
0

I have a large Pandas dataframe. I want to find out what the unique values are within each column. I have figured out how to do this but it also recalls all the numeric values. I want to be able to exclude a range like 1-1000 from my filter so as I can just view strings etc.

Currently I've been using pd.unique()


Viewing all articles
Browse latest Browse all 11631

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>