Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Pandas compatibility #19

Open
agateblue opened this issue Feb 21, 2016 · 2 comments
Open

Pandas compatibility #19

agateblue opened this issue Feb 21, 2016 · 2 comments

Comments

@agateblue
Copy link
Owner

I'm not really familiar with this library, so I don't know exactly what it could mean to be pandas compatible, and especially against which data structure it would be really useful. Does anyone use pandas out here and would have some use cases involving lifter ?

@nithin-bose
Copy link

I haven't used pandas in a long while now. But I can say that this is the kind of stuff I wished there would be when i was using pandas.

Everything in pandas generally (for typical use cases) revolve around loading data into a DataFrame(df) objects and then "queiying" them.

To add support for pandas (as a start, at least), I guess you could create a load function for a df and implement the current filters to return data from the df without complicated array operations, at least basic selections as in the following link:
http://pandas.pydata.org/pandas-docs/stable/10min.html#selection

@agateblue
Copy link
Owner Author

Thanks for your input @nithin-bose!

I think a contrib.pandas module with a DataFrameQuerySet would be the way to go, but I'm not confident enough in my little pandas knowledge to start the implementation myself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants