Module Expr Str Import alias Import alias identifier ImportFrom alias alias ImportFrom alias ImportFrom alias Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad orelse Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn NameLoad NameLoad Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad For NameStore Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMod Str TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword BinOpAdd NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults Num NameLoad body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad kwarg body Expr Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad NameLoad keyword AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 

.. module:: polynomial
  :synopsis:
  :platform:

 N/A copy N/A pandas pd sklearn.base BaseEstimator TransformerMixin patsy.highlevel dmatrix category_encoders.ordinal OrdinalEncoder N/A __author__ willmcginnis polynomial_coding N/A N/A X_in cols N/A None N/A N/A 

    :param X:
    :return:
     N/A X N/A N/A copy deepcopy X_in N/A N/A cols None N/A N/A cols N/A N/A X columns values N/A pass_thru N/A N/A N/A pass_thru N/A col N/A col N/A N/A X columns values N/A col cols N/A bin_cols N/A N/A col cols N/A N/A mod N/A dmatrix N/A C(%s, Poly) N/A col X N/A dig N/A range N/A len N/A mod N/A 0 N/A N/A N/A X N/A N/A col N/A _%d N/A dig N/A mod N/A N/A N/A dig N/A N/A N/A bin_cols append N/A col N/A _%d N/A dig N/A X N/A N/A X reindex columns N/A bin_cols pass_thru N/A X N/A PolynomialEncoder N/A BaseEstimator TransformerMixin N/A N/A __init__ N/A N/A self verbose cols N/A 0 None N/A N/A 

        :param verbose:
        :param cols:
        :return:
         N/A N/A self verbose verbose N/A N/A self cols cols N/A fit N/A N/A self X y N/A None kwargs N/A N/A 

        :param X:
        :param y:
        :param kwargs:
        :return:
         N/A self N/A transform N/A N/A self X N/A N/A N/A 

        :param X:
        :return:
         N/A N/A N/A isinstance X N/A pd DataFrame N/A N/A X N/A N/A pd DataFrame X N/A N/A polynomial_coding X cols N/A self cols N/A N/A