I used panda to generate a dataframe with several rows and columns.
I am now trying to determine the average number of decimals for each column. For example :
A B C
10.1 22.541 21.44
10.2 23.548 19.4
11.2 26.547 15.45
The program would return 1 for A, 3 for B and 2 for C
Would you have an effective method to do this, given that the dataframe I'm handling has about 16000 lines.
Thank you