Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes the output for mp.boxoffice #2

Closed
wants to merge 1 commit into from

Conversation

mikelane
Copy link

fixes #1

This creates a lot of problems that need to be worked out. The use of classes wasn't quite right and I used mp.boxoffice as a kind of template for fixing the issues with the other methods. Happy to interface more if there questions.

url = 'http://www.omdbapi.com/'
parameters = {'apikey': ''}

# TODO setting the pandas options here is really gross.
# TODO consider not printing right from the dataframe in boxoffice (or elsewhere)
pd.set_option('display.height', 1000)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm receiving an error pertaining to this. Not sure how to solve or what's going on, really.

File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pandas/core/config.py", line 83, in _get_single_key
    raise OptionError('No such keys(s): {pat!r}'.format(pat=pat))
pandas.core.config.OptionError: "No such keys(s): 'display.height'"

@mikelane mikelane closed this Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make the output of mp.boxoffice much cleaner and parse the movie titles/box office numbers better.
2 participants