title: R style categorical descriptive statistics in python
body: <p>In python <code>pandas.describe(includes='all'),</code> the categorical attributes only show "count, unique, top, and freq" where you do not know the "null, counts of categorical values". For example, I have a 'sex' variable where it does not show how many male/female are there or NAs. But in R, a <code>summary()</code> would do the jobs for both numbers or categorical variables.
  How can you achieve a R style <code>summary()</code> in python. BTW, the output of <code>includes='all'</code> option is not quite user friendly compared to R</p>
  
  <p><a href="https://i.stack.imgur.com/IJiTA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IJiTA.png" alt="Python"></a>
  <a href="https://i.stack.imgur.com/IJiTA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tFzCQ.png" alt="R output"></a></p>