Comments (3)
I agree that this is a very interesting feature to have and it is on the roadmap.
Unfortunately I have not had so much time lately to implement big improvements on Gota, if you come up with a good solution we can discuss it here or via PR. Otherwise I will get to it when I have some more free time available.
For the meantime, you have functions that should allow you to apply functions to rows and columns via RApply and CApply and you could split the groups yourself and then join them back together.
Make sure to check and comment on issue #13 for future developments regarding GroupBy, etc.
Best,
Alex
from gota.
I've actually never written any go but I'm an avid pandas user. I was thinking this could be a good project for me to get my feet wet. If you have any starting design ideas or pointers/recommendations that could help guide me I would love to hear them. I will try to go over your code and think about how to implement this GroupBy functionality, and try to share my thoughts here as I work.
from gota.
Awesome, I would love to get this implemented for sure. For a start, check issue #13, where I talk about this concept.
Go is a wonderful and sensible language, best of luck getting into it!
Essentially GroupBy should be creating an internal index for the groups of rows that work together, and then we could move further expanding existing functions to accommodate this groups (So for example, sorting or function application is done on a per group basis.
I encourage you to start contributing small, since that also makes my life much easier when reviewing the code, so for a start, just with the index creation of groups as a PR.
In order to contribute to the project, make sure to work on the dev
branch and submit the PRs there. All the code for major features should have at least a sensible amount of unit testing using Go's testing capabilities. Furthermore the tests go test
, the linter golint
and go vet
should not throw any errors, which will also force the preferred documentation best practices for exported functions. Also gofmt
is mandatory, so you should probably just run it automatically after saving.
I urge you to comment on issue #13 instead of this one, which I closed to avoid duplicate issues.
Thanks for the interest and let me know your thoughts!
from gota.
Related Issues (20)
- Speed read csv
- How to merge a list of datasets HOT 1
- Add equivalent of `pandas`.`read_html` HOT 3
- Get Values of a Specific Column as Array (without iteration?) HOT 2
- Project Status
- The Slack invite is no onger valid
- How to read uint64 data from csv file
- How to get length of DataFrame HOT 1
- Parsing Datetime and using it as index
- Unable to resolve some Dataframe method names HOT 2
- how to achieve multi index ?
- DataFusion rust
- In the series.Slice function, the k value should be allowed to be equal to s.len()
- After Groupby,executing Aggregation error
- How to get sum of a columns in Gota HOT 1
- How to use drop_duplicates in gota
- Column Order Question
- How to concat strings as a new column
- Subset Range
- This library is defunct: prove me wrong HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gota.