File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,12 @@ Grouping
99
99
`Create multiple aggregated columns
100
100
<http://stackoverflow.com/questions/14897100/create-multiple-columns-in-pandas-aggregation-function> `__
101
101
102
+ Splitting
103
+ ~~~~~~~~~
104
+
105
+ `Splitting a frame
106
+ <http://stackoverflow.com/questions/13353233/best-way-to-split-a-dataframe-given-an-edge/15449992#15449992> `__
107
+
102
108
Timeseries
103
109
----------
104
110
Original file line number Diff line number Diff line change @@ -795,14 +795,6 @@ def __nonzero__(self):
795
795
def ndim (self ):
796
796
return len (self .axes )
797
797
798
- def is_mixed_dtype (self ):
799
- counts = set ()
800
- for block in self .blocks :
801
- counts .add (block .dtype )
802
- if len (counts ) > 1 :
803
- return True
804
- return False
805
-
806
798
def set_axis (self , axis , value ):
807
799
cur_axis = self .axes [axis ]
808
800
value = _ensure_index (value )
Original file line number Diff line number Diff line change @@ -238,10 +238,10 @@ def test_attrs(self):
238
238
self .assertEquals (len (self .mgr ), len (self .mgr .items ))
239
239
240
240
def test_is_mixed_dtype (self ):
241
- self .assert_ (self .mgr .is_mixed_dtype () )
241
+ self .assert_ (self .mgr .is_mixed_type )
242
242
243
243
mgr = create_blockmanager ([get_bool_ex (['a' ]), get_bool_ex (['b' ])])
244
- self .assert_ (not mgr .is_mixed_dtype () )
244
+ self .assert_ (not mgr .is_mixed_type )
245
245
246
246
def test_is_indexed_like (self ):
247
247
self .assert_ (self .mgr ._is_indexed_like (self .mgr ))
You can’t perform that action at this time.
0 commit comments