|
1 |
| -import warnings |
2 | 1 | import string
|
3 | 2 |
|
4 | 3 | import numpy as np
|
5 | 4 | import pandas.util.testing as tm
|
6 |
| -from pandas import (DataFrame, Series, Panel, MultiIndex, |
| 5 | +from pandas import (DataFrame, Series, MultiIndex, |
7 | 6 | date_range, concat, merge, merge_asof)
|
8 | 7 |
|
9 | 8 | try:
|
@@ -66,31 +65,6 @@ def time_concat_mixed_ndims(self, axis):
|
66 | 65 | concat(self.mixed_ndims, axis=axis)
|
67 | 66 |
|
68 | 67 |
|
69 |
| -class ConcatPanels(object): |
70 |
| - |
71 |
| - params = ([0, 1, 2], [True, False]) |
72 |
| - param_names = ['axis', 'ignore_index'] |
73 |
| - |
74 |
| - def setup(self, axis, ignore_index): |
75 |
| - with warnings.catch_warnings(record=True): |
76 |
| - panel_c = Panel(np.zeros((10000, 200, 2), |
77 |
| - dtype=np.float32, |
78 |
| - order='C')) |
79 |
| - self.panels_c = [panel_c] * 20 |
80 |
| - panel_f = Panel(np.zeros((10000, 200, 2), |
81 |
| - dtype=np.float32, |
82 |
| - order='F')) |
83 |
| - self.panels_f = [panel_f] * 20 |
84 |
| - |
85 |
| - def time_c_ordered(self, axis, ignore_index): |
86 |
| - with warnings.catch_warnings(record=True): |
87 |
| - concat(self.panels_c, axis=axis, ignore_index=ignore_index) |
88 |
| - |
89 |
| - def time_f_ordered(self, axis, ignore_index): |
90 |
| - with warnings.catch_warnings(record=True): |
91 |
| - concat(self.panels_f, axis=axis, ignore_index=ignore_index) |
92 |
| - |
93 |
| - |
94 | 68 | class ConcatDataFrames(object):
|
95 | 69 |
|
96 | 70 | params = ([0, 1], [True, False])
|
|
0 commit comments