0

So, I have been pondering on how I can select the number of bins in a dataset? I know we have different methods for selecting number of bins for histogram, but how do I select number of bins when working with dataframe?

The dataset I am trying to work on is:

128 face encodings sample

Values in the dataframes are that of face encodings. I want to discretise these values by each rows(each rows of 128 values indicate face encodings of each different individual person). My question is, without knowing the number of bins, I can't use python pd.cut function to discretise the values so what approach should I take to understand how many bins I need?

0 Answers0