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

Complete research of Pandas dataframe model and API #1

Open
2 tasks
rufuspollock opened this issue Feb 29, 2016 · 6 comments
Open
2 tasks

Complete research of Pandas dataframe model and API #1

rufuspollock opened this issue Feb 29, 2016 · 6 comments

Comments

@rufuspollock
Copy link
Member

rufuspollock commented Feb 29, 2016

Have already been doing research as partially summarized in the README. Need to complete this ...

  • key APIs
  • differences between Pandas and R
@s-celles
Copy link

xarray http://xarray.pydata.org/ (previously named xray) is probably also an API and an implementation to consider

Pandas Panel will probably be removed in favor of xarray.DataArray
see github.com/pandas-dev/pandas/issues/8906

Some R datasets such as

  • Titanic
  • HairEyeColor

are available at https://github.com/Rdatasets/python

@s-celles
Copy link

s-celles commented May 2, 2016

You might also have a look at https://json-stat.org/ and https://github.com/badosa/JSON-stat
Pinging @badosa

@rufuspollock
Copy link
Member Author

@scls19fr thanks - really useful.

@s-celles
Copy link

s-celles commented May 3, 2016

Some sources using such a format are given here datasets/awesome-data#181 (comment)

@badosa
Copy link

badosa commented May 4, 2016

@rgrp The API of the JSON-stat Javascript Toolkit (JJT) can be found here https://github.com/badosa/JSON-stat/wiki/API-Reference This API allows you to handle cubes of data (rather than data) in the JSON-stat format.

pyjstat https://pypi.python.org/pypi/pyjstat/ allows you handle JSON-stat documents in python using pandas DataFrames. For R you have https://github.com/ajschumacher/rjstat

The JSON-stat Javascript Utilities Suite (JJUS) allows you to convert to https://github.com/badosa/JSON-stat/blob/master/utils/tocsv.md and from https://github.com/badosa/JSON-stat/blob/master/utils/fromcsv.md CSV (but probably not in the kind of structure you would expect as, again, JSON-stat is focused on cubes, not data).

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

No branches or pull requests

3 participants