Issue
Here's the code from the section "The on Keyword" on page 154 in Python Data Science Handbook:
'''display('df1', 'df2', "pd.merge(df1, df2, on='employee')")'''
For the last several sections of code from the book, I've somehow inadvertently got things out of whack by 90 degrees such that the output is arranged vertically when the output in the book is arranged horizontally. Not a big deal, but I like it when my attempts at following along match the book. Thanks!
Solution
Starting the chapter over in a new notebook, carefully entering the example code, using the author's code when in doubt, solved the issue.
Answered By - David Walden
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.