inequality icon indicating copy to clipboard operation
inequality copied to clipboard

Support pandas objects

Open martinfleis opened this issue 5 months ago • 4 comments

Currently, we support pandas objects by a coincidence. We should make effort to support them officially without a need to pass the underlying array to silence warnings and ensuring that pandas support is tested and maintained.

martinfleis avatar Jul 07 '25 14:07 martinfleis

This should ideally be for all functionality, not only the gini stuff I mentioned in #102 , correct?

jGaboardi avatar Jul 07 '25 16:07 jGaboardi

Yes, across the package and eventually federation. Though I believe that most components do support it already.

martinfleis avatar Jul 07 '25 17:07 martinfleis

@pysal/devs Does anyone else have any input?

jGaboardi avatar Jul 07 '25 19:07 jGaboardi

One thought is we may want to consider a federation-wide policy on this.

I'm old enough to remember that we started before there was a thing called pandas (or numpy for that matter).

If we can centralize handling inputs, then it would make any future migrations less painful than what we have experienced in the past.

sjsrey avatar Jul 07 '25 20:07 sjsrey