Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUG: Fixed bugs with Python 3.3 from a simple 'import pandas'

  • Loading branch information...
commit 3de54aef0fa5cbe786bb3645a03fb64d90a285f4 1 parent 00860a9
@blais blais authored wesm committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 pandas/core/internals.py
View
4 pandas/core/internals.py
@@ -25,6 +25,7 @@ def __init__(self, values, items, ref_items, ndim=2,
assert(values.ndim == ndim)
assert(len(items) == len(values))
+ self._ref_locs = None
self.values = values
self.ndim = ndim
self.items = _ensure_index(items)
@@ -39,7 +40,6 @@ def _check_integrity(self):
# monotonicity
return (self.ref_locs[1:] > self.ref_locs[:-1]).all()
- _ref_locs = None
@property
def ref_locs(self):
if self._ref_locs is None:
@@ -479,7 +479,7 @@ class BlockManager(object):
-----
This is *not* a public API class
"""
- __slots__ = ['axes', 'blocks', 'ndim']
+ __slots__ = ['axes', 'blocks']
def __init__(self, blocks, axes, do_integrity_check=True):
self.axes = [_ensure_index(ax) for ax in axes]
Please sign in to comment.
Something went wrong with that request. Please try again.