dataframe-go icon indicating copy to clipboard operation
dataframe-go copied to clipboard

Progress for re-write of dataframe-go?

Open winston-p opened this issue 3 years ago • 14 comments

It's written in the README file that "Once Go 1.18 (Generics) is introduced, the ENTIRE package will be rewritten.", As Go 1.18 has been released for a while, I'm wondering if work has started on re-writing of the entire package. If so, how's the progress?

winston-p avatar Sep 08 '22 14:09 winston-p

I'm still thinking about the best way to rewrite it. Looking for suggestions and help

pjebs avatar Sep 08 '22 21:09 pjebs

I see. Perhaps you could detail some of your thoughts and ideas so far? I'm fairly new to Go but I'm sure others more experienced than me can chime in and/or offer help.

winston-p avatar Sep 09 '22 09:09 winston-p

Do you want to have a zoom chat?

pjebs avatar Sep 09 '22 11:09 pjebs

Would love to see this working with generics (and possibly be able to import a python pandas dataframe would be excellent). Happy to be involved to help with any thought process as this will be a game changer for Go!

amlwwalker avatar Oct 25 '22 11:10 amlwwalker

@amlwwalker Let me know if you want to help. My vision for how to add generics came undone when I learnt that you can't have generic methods: You can have generic functions obviously. But for some reason no generic methods.

pjebs avatar Oct 25 '22 11:10 pjebs

@pjebs does this not work? https://stackoverflow.com/a/70668559/1414721

can you give an example of a situation where that wouldn't cover the use case?

amlwwalker avatar Oct 25 '22 13:10 amlwwalker

type x struct {

}

func (s *x)[X any, Y any, D any] MyFunc(a X, b Y) D { // not allowed

}

pjebs avatar Oct 26 '22 05:10 pjebs

Does this not help? https://stackoverflow.com/a/71378366/1414721

So each struct will need the method available on it, (could that be generated?) but you can then use an interface?

amlwwalker avatar Oct 27 '22 10:10 amlwwalker

Do you want to discuss over Zoom?

pjebs avatar Oct 27 '22 11:10 pjebs

happy to - I'm not very familiar with Go generics so I am probably not so useful to you, but if you want to talk it through with someone happy to be a sounding board. Got to get some stuff done right now, but can plan?

amlwwalker avatar Oct 27 '22 11:10 amlwwalker

send me an email with your availability: [email protected]

pjebs avatar Oct 27 '22 11:10 pjebs

wanted to ping this thread again @pjebs are you still working on a rewrite?

agaddis02 avatar Nov 30 '23 00:11 agaddis02

Bump on the above @pjebs, I would like to help out if you need a hand :)

SaikyoSaru avatar Feb 21 '24 17:02 SaikyoSaru

Id love help. Let me know when your area few for a video chat.

On Thu, 22 Feb 2024, 04:31 SaikyoSaru, @.***> wrote:

On up on the above @pjebs https://github.com/pjebs, I would like to help out if you need a hand :)

— Reply to this email directly, view it on GitHub https://github.com/rocketlaunchr/dataframe-go/issues/67#issuecomment-1957412872, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJFKWTGPC4EL3OQFYB2SBN3YUYVNVAVCNFSM6AAAAAAQH2XS5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJXGQYTEOBXGI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rocketlaunchr-cto avatar Feb 26 '24 11:02 rocketlaunchr-cto