Skip to content

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

2 participants