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
MAINT: transform series to dataframe #202
Conversation
this could force series input type transform to dataframe type
MethodTF's transform and inverse_transform could receive array-like data type.
decorator now couldn't validate all conditions.
decorator now couldn't validate all conditions.
|
||
@wraps(func) | ||
def decorator(self, X): | ||
X_new = func(self, X) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does there remove the decorator?
This line code couldn't handle all considerations.
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
=======================================
Coverage 99.36% 99.37%
=======================================
Files 22 22
Lines 472 479 +7
Branches 49 50 +1
=======================================
+ Hits 469 476 +7
Misses 1 1
Partials 2 2
Continue to review full report at Codecov.
|
series would show data type
…a-toolkit into series_to_frame
transform
andinverse_transform
require 2d data.But the input would be 1d data (series).
To handle this, there have made the output data from series to dataframe.
1d data uses dataframe is a little bit weird.
Now we transform data type when data come in.