// list(self.data) == list(other.data)):
// raise ValueError("DataFrame indices or columns do not match")
table = pd.concat([self.data.set_index(["chromosome", "start"]),
other.data.set_index(["chromosome", "start"])])
self.data = table.sort().reset_index()
def copy(self):
After Change
if not isinstance(other, self.__class__):
raise ValueError("Argument (type %s) is not a %s instance"
% (type(other), self.__class__))
if len(other.data):
self.data = pd.concat([self.data, other.data])
self.sort()