5. patsy.parse_formula¶
5.1. Functions¶
StringIO |
StringIO([s]) – Return a StringIO-like stream for reading or writing |
infix_parse(tokens, operators, atomic_types) |
|
parse_formula(code[, extra_operators]) |
|
pretty_untokenize(typed_tokens) |
|
python_tokenize(code) |
|
test__tokenize_formula() |
|
test_parse_errors([extra_operators]) |
|
test_parse_extra_op() |
|
test_parse_formula() |
|
test_parse_origin() |
5.2. Classes¶
Operator(token_type, arity, precedence) |
|
Origin(code, start, end) |
This represents the origin of some object in some string. |
ParseNode(type, token, args, origin) |
|
PushbackAdapter(it) |
|
Token(type, origin[, extra]) |
A token with possible payload. |
5.3. Exceptions¶
PatsyError(message[, origin]) |
This is the main error type raised by Patsy functions. |