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

Pandas binding #65

Open
poborin opened this issue Aug 31, 2022 · 5 comments
Open

Pandas binding #65

poborin opened this issue Aug 31, 2022 · 5 comments

Comments

@poborin
Copy link

poborin commented Aug 31, 2022

Hello,

I'm exploring if making a Pandas binding is an achievable task. So far I just need a limited subset of features: CSV(write), HDF5(read/write) and DataFrame(creation, indexing and HDF5/CSV export).

There was a limitation mentioned that the package does not ship with its own stubs or type annotations. Could you please explain it a little more?

@dbrattli
Copy link
Collaborator

Would be really great if you wanted to do this. Pandas do definitively not ship their own Fable bindings so this is not a problem. I should rephrase that sentence.

@poborin
Copy link
Author

poborin commented Aug 31, 2022

That sounds very good! This answers on my question. Meanwhile, what is the best communication platform if I have a question? Is it the Fable Gitter?

@poborin
Copy link
Author

poborin commented Sep 7, 2022

oh, I just realized that Fable.Python compiles to python code (who would expect! 😆 ). However, I would like to use pandas in the Fable.JS web app. Now I'm thinking, what would be the best way to do so. At the moment I have the only idea of using AJAX, but it's going to be quite ugly for what I'm trying to achieve

@dbrattli
Copy link
Collaborator

You could try out Fable.Giraffe and Remoting (it's built-in). That gives you a Fable app with a Python backend that can easily be integrated with Pandas etc.

@poborin
Copy link
Author

poborin commented Sep 13, 2022

Hmm, that requires a backend. I wanted to create a self contained web app. Let me hang on it for a while.

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

2 participants