@staticmethod<EOL><INDENT>def from_series(series):<DEDENT>
result = PercentRankTransform()<EOL>result.cdf = series.values<EOL>result.bin_edges = series.index.values[<NUM_LIT:1>:-<NUM_LIT:1>]<EOL>return result<EOL>
Deseralize a PercentRankTransform the given pandas.Series, as returned
by `to_series()`.

Parameters
----------
series : pandas.Series

Returns
-------
PercentRankTransform