---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-12-1a77f0c3ed85> in <module>()
----> 1 df.loc['2015-10-11':'2015-10-13']
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\indexing.pyc in __getitem__(self, key)
1225 return self._getitem_tuple(key)
1226 else:
-> 1227 return self._getitem_axis(key, axis=0)
1228
1229 def _getitem_axis(self, key, axis=0):
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\indexing.pyc in _getitem_axis(self, key, axis)
1340 if isinstance(key, slice):
1341 self._has_valid_type(key, axis)
-> 1342 return self._get_slice_axis(key, axis=axis)
1343 elif is_bool_indexer(key):
1344 return self._getbool_axis(key, axis=axis)
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\indexing.pyc in _get_slice_axis(self, slice_obj, axis)
1247 labels = obj._get_axis(axis)
1248 indexer = labels.slice_indexer(slice_obj.start, slice_obj.stop,
-> 1249 slice_obj.step)
1250
1251 if isinstance(indexer, slice):
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\index.pyc in slice_indexer(self, start, end, step, kind)
2568 This function assumes that the data is sorted, so use at your own peril
2569 """
-> 2570 start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind)
2571
2572 # return a slice
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\index.pyc in slice_locs(self, start, end, step, kind)
2712 start_slice = None
2713 if start is not None:
-> 2714 start_slice = self.get_slice_bound(start, 'left', kind)
2715 if start_slice is None:
2716 start_slice = 0
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\index.pyc in get_slice_bound(self, label, side, kind)
2650 # For datetime indices label may be a string that has to be converted
2651 # to datetime boundary according to its resolution.
-> 2652 label = self._maybe_cast_slice_bound(label, side, kind)
2653
2654 # we need to look up the label
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\index.pyc in _maybe_cast_slice_bound(self, label, side, kind)
3649 # integer/floats directly
3650 if not (is_integer(label) or is_float(label)):
-> 3651 self._invalid_indexer('slice',label)
3652
3653 return label
C:\Users\sungkeun\Anaconda2\lib\site-packages\pandas\core\index.pyc in _invalid_indexer(self, form, key)
1015 klass=type(self),
1016 key=key,
-> 1017 kind=type(key)))
1018
1019 def get_duplicates(self):
TypeError: cannot do slice indexing on <class 'pandas.core.index.Int64Index'> with these indexers [2015-10-11] of <type 'str'>