Skip to content

CLN: Make io/data urls easier to monkey-patch #5817

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

Merged
1 commit merged into from
Jan 3, 2014

Conversation

jtratner
Copy link
Contributor

@jtratner jtratner commented Jan 2, 2014

This could be useful to make pandas more resilient to basic url changes
like that which happened with yahoo finance. That said, clearly
wholesale API changes won't be helped by this.

What do you all think, worth it to make this relatively trivial change?

@cancan101
Copy link
Contributor

What about factoring out the function that generates the URL it self so that could be monkey patched. That way pandas can be resistant to more than just changes to the base URL.

@jtratner
Copy link
Contributor Author

jtratner commented Jan 2, 2014

Certainly something to consider, but most of the functions are basically
just params --> transform --> pass url to common function anyway.

@ghost
Copy link

ghost commented Jan 3, 2014

This looks like a good incremental change to me. merging. Don't think something more
elaborate is called for.

ghost pushed a commit that referenced this pull request Jan 3, 2014
CLN: Make io/data urls easier to monkey-patch
@ghost ghost merged commit 230a899 into pandas-dev:master Jan 3, 2014
This pull request was closed.
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.

2 participants