Closed aazuspan closed 1 year ago
Yes, I absolutely agree - that should be expected.
Looks like the bug is coming from something I've done in MyStandardScaler
. StandardScaler
works fine with X_df
.
I had expected this issue to close once #19 was merged, but apparently that only happens with the default branch (currently main
) - see here. It looks like one can write a workflow, but at present that's beyond my Github skills.
@aazuspan, if you want to tackle this, I can leave this open. Otherwise, I'm happy to close it.
Aha, I was wondering why these weren't closing automatically! Thanks for the link.
I think manually closing is probably easy enough for now, so I'll go ahead and close this.
While trying to implement #2, I discovered another snag:
Euclidean
andMahalanobis
cannot be fit by passing a dataframe asX
. The errors seem to originate in the transformers, but I haven't dug any deeper than that.While
sklearn
definitely doesn't claim to be interoperable with pandas, my past experience and a quick test (below) indicates that most if not all regressors do support dataframes transparently.My inclination is that we should too, but let me know what you think.