patsy
Overview
Download
Requirements
Installation
Contact
License
Users
Quickstart
How formulas work
The formula language
Operators
Factors and terms
Intercept handling
Explore!
From terms to matrices
Redundancy and categorical factors
Technical details
Footnotes
Coding categorical data
Stateful transforms
Builtin stateful transforms
Defining a stateful transform
Spline regression
General B-splines
Natural and cyclic cubic regression splines
Tensor product smooths
Model specification for experts and computers
The factor protocol
Alternative formula implementations
Using Patsy in your library
Using the high-level interface
Working with metadata
Predictions
Example
Other cool tricks
Extending the formula syntax
Differences between R and Patsy formulas
Python 2 versus Python 3
patsy
API reference
Basic API
Convenience utilities
Design metadata
Stateful transforms
Handling categorical data
Spline regression
Working with formulas programmatically
Working with the Python execution environment
Building design matrices
Missing values
Linear constraints
Origin tracking
patsy.builtins
API reference
Changes
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.0
patsy
Docs
»
Edit on GitHub
Index
_
|
B
|
C
|
D
|
E
|
F
|
H
|
I
|
L
|
M
|
N
|
O
|
P
|
Q
|
R
|
S
|
T
|
V
|
W
_
__eq__() (patsy.factor_protocol method)
__hash__() (patsy.factor_protocol method)
__ne__() (patsy.factor_protocol method)
__new__() (patsy.DesignMatrix static method)
B
balanced() (in module patsy)
bs() (in module patsy)
(in module patsy.builtins)
build_design_matrices() (in module patsy)
builder (patsy.DesignInfo attribute)
C
C() (in module patsy.builtins)
capture() (patsy.EvalEnvironment class method)
caretize() (patsy.Origin method)
categories (patsy.FactorInfo attribute)
cc() (in module patsy)
(in module patsy.builtins)
center() (in module patsy)
(in module patsy.builtins)
code_with_intercept() (patsy.builtins.Diff method)
(patsy.builtins.Helmert method)
(patsy.builtins.Poly method)
(patsy.builtins.Sum method)
(patsy.builtins.Treatment method)
code_without_intercept() (patsy.builtins.Diff method)
(patsy.builtins.Helmert method)
(patsy.builtins.Poly method)
(patsy.builtins.Sum method)
(patsy.builtins.Treatment method)
coefs (patsy.LinearConstraint attribute)
column_name_indexes (patsy.DesignInfo attribute)
column_names (patsy.DesignInfo attribute)
column_suffixes (patsy.builtins.ContrastMatrix attribute)
(patsy.ContrastMatrix attribute)
combine() (patsy.Origin class method)
constants (patsy.LinearConstraint attribute)
contrast_matrices (patsy.SubtermInfo attribute)
ContrastMatrix (class in patsy)
(class in patsy.builtins)
cr() (in module patsy)
(in module patsy.builtins)
D
demo_data() (in module patsy)
describe() (patsy.DesignInfo method)
design_info (patsy.DesignMatrix attribute)
design_matrix_builders() (in module patsy)
DesignInfo (class in patsy)
DesignMatrix (class in patsy)
Diff (class in patsy)
(class in patsy.builtins)
dmatrices() (in module patsy)
dmatrix() (in module patsy)
E
eval() (patsy.EvalEnvironment method)
(patsy.factor_protocol method)
EvalEnvironment (class in patsy)
EvalFactor (class in patsy)
F
factor (patsy.FactorInfo attribute)
factor_infos (patsy.DesignInfo attribute)
factor_protocol (class in patsy)
FactorInfo (class in patsy)
factors (patsy.SubtermInfo attribute)
(patsy.Term attribute)
from_array() (patsy.DesignInfo class method)
H
handle_NA() (patsy.NAAction method)
Helmert (class in patsy)
(class in patsy.builtins)
I
I() (in module patsy.builtins)
incr_dbuilder() (in module patsy)
incr_dbuilders() (in module patsy)
INTERCEPT (in module patsy)
is_categorical_NA() (patsy.NAAction method)
is_numerical_NA() (patsy.NAAction method)
L
lhs_termlist (patsy.ModelDesc attribute)
linear_constraint() (patsy.DesignInfo method)
LinearConstraint (class in patsy)
LookupFactor (class in patsy)
M
matrix (patsy.builtins.ContrastMatrix attribute)
(patsy.ContrastMatrix attribute)
memorize_chunk() (patsy.factor_protocol method)
(patsy.stateful_transform_protocol method)
memorize_finish() (patsy.factor_protocol method)
(patsy.stateful_transform_protocol method)
memorize_passes_needed() (patsy.factor_protocol method)
ModelDesc (class in patsy)
N
NAAction (class in patsy)
name() (patsy.factor_protocol method)
namespace (patsy.EvalEnvironment attribute)
num_columns (patsy.FactorInfo attribute)
(patsy.SubtermInfo attribute)
O
Origin (class in patsy)
origin (patsy.factor_protocol attribute)
P
patsy (module)
patsy.builtins (module)
PatsyError
Poly (class in patsy)
(class in patsy.builtins)
Q
Q() (in module patsy.builtins)
R
relevant_code() (patsy.Origin method)
rhs_termlist (patsy.ModelDesc attribute)
S
scale() (in module patsy)
(in module patsy.builtins)
slice() (patsy.DesignInfo method)
standardize() (in module patsy)
(in module patsy.builtins)
state (patsy.FactorInfo attribute)
stateful_transform() (in module patsy)
stateful_transform_protocol (class in patsy)
subset() (patsy.DesignInfo method)
(patsy.EvalEnvironment method)
SubtermInfo (class in patsy)
Sum (class in patsy)
(class in patsy.builtins)
T
te() (in module patsy)
(in module patsy.builtins)
Term (class in patsy)
term_codings (patsy.DesignInfo attribute)
term_name_slices (patsy.DesignInfo attribute)
term_names (patsy.DesignInfo attribute)
term_slices (patsy.DesignInfo attribute)
terms (patsy.DesignInfo attribute)
transform() (patsy.stateful_transform_protocol method)
Treatment (class in patsy)
(class in patsy.builtins)
type (patsy.FactorInfo attribute)
V
variable_names (patsy.LinearConstraint attribute)
W
with_outer_namespace() (patsy.EvalEnvironment method)
Read the Docs
v: v0.4.0
Versions
latest
stable
v0.4.0
v0.3.0
v0.2.1
v0.2.0
v0.1.0
Downloads
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.