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

Use Pandas instead of Numpy to store datasets. Implement GE_GENERATE #161

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jmmcd
Copy link
Collaborator

@jmmcd jmmcd commented Aug 3, 2022

In #145, @cgarcia-UCO had some nice ideas for new auto-generated grammar content. We discussed it a bit more and we had ideas for users writing executable code inside the grammar. I implemented that. And it turned out to require another change, storing our datasets as Pandas DataFrames, because it requires a datatype per column. That has knock-on effects, including in our bnf files. I've implemented all that. I'm not sure if all this would be acceptable to everyone... so, just making a PR for discussion, or at least to hold this code for posterity.

…GENERATE.

In PonyGE#145, @cgarcia-UCO had some nice ideas for new auto-generated grammar content. We discussed it a bit more and we had ideas for users writing executable code inside the grammar. I implemented that. And it turned out to require another change, storing our datasets as Pandas DataFrames, because it requires a datatype per column. That has knock-on effects, including in our bnf files. I've implemented all that. I'm not sure if all this would be acceptable to everyone... so, just making a PR for discussion, or at least to hold this code for posterity.
@dvpfagan
Copy link
Collaborator

dvpfagan commented Aug 9, 2022 via email

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