|
2 | 2 | """
|
3 | 3 |
|
4 | 4 | import ast
|
| 5 | +from functools import partial |
5 | 6 | import tokenize
|
6 | 7 |
|
7 |
| -from functools import partial |
8 | 8 | import numpy as np
|
9 | 9 |
|
| 10 | +from pandas.compat import StringIO, lmap, reduce, string_types, zip |
| 11 | + |
10 | 12 | import pandas as pd
|
11 | 13 | from pandas import compat
|
12 |
| -from pandas.compat import StringIO, lmap, zip, reduce, string_types |
13 |
| -from pandas.core.base import StringMixin |
14 | 14 | from pandas.core import common as com
|
15 |
| -import pandas.io.formats.printing as printing |
16 |
| -from pandas.core.reshape.util import compose |
| 15 | +from pandas.core.base import StringMixin |
17 | 16 | from pandas.core.computation.ops import (
|
18 |
| - _cmp_ops_syms, _bool_ops_syms, |
19 |
| - _arith_ops_syms, _unary_ops_syms, is_term) |
20 |
| -from pandas.core.computation.ops import _reductions, _mathops, _LOCAL_TAG |
21 |
| -from pandas.core.computation.ops import Op, BinOp, UnaryOp, Term, Constant, Div |
22 |
| -from pandas.core.computation.ops import UndefinedVariableError, FuncNode |
| 17 | + _LOCAL_TAG, BinOp, Constant, Div, FuncNode, Op, Term, UnaryOp, |
| 18 | + UndefinedVariableError, _arith_ops_syms, _bool_ops_syms, _cmp_ops_syms, |
| 19 | + _mathops, _reductions, _unary_ops_syms, is_term) |
23 | 20 | from pandas.core.computation.scope import Scope
|
| 21 | +from pandas.core.reshape.util import compose |
| 22 | + |
| 23 | +import pandas.io.formats.printing as printing |
24 | 24 |
|
25 | 25 |
|
26 | 26 | def tokenize_string(source):
|
|
0 commit comments