Tweeted By @TedPetrou
Sometimes even 5 rows is too many to show as the default for the DataFrame head method. Use partialmethod from functools to change this.
— Ted Petrou (@TedPetrou) April 19, 2019
pd.DataFrame.head = partialmethod(pd.DataFrame.head, n=3) pic.twitter.com/NPKf9Jlg5F