DRAFT Inspect a DataFrame in the Middle of Method Chaining
# want to improve this before posting so that it tries to display the dataframe and if that doesn't work it just prints it
inspect = lambda d: [display(d), d][1]
# or
inspect = lambda d: display(d) or d)