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

allow pandas kwargs (json) in request.GET #15

Merged
merged 2 commits into from
Aug 4, 2015
Merged

allow pandas kwargs (json) in request.GET #15

merged 2 commits into from
Aug 4, 2015

Conversation

kevinmickey
Copy link
Contributor

It would be nice if some of the pandas flexibility was exposed in the renderers. Here, I've allowed the JSON renderer to take orient and date_format as GET parameters, with the same defaults as before (records and iso).

See http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.to_json.html

@sheppard sheppard merged commit 17929ea into wq:master Aug 4, 2015
@sheppard
Copy link
Member

sheppard commented Aug 4, 2015

Thanks, this is useful. I made some minor formatting changes and added a test.

sheppard added a commit that referenced this pull request Mar 29, 2017
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