datasnakes/OrthoEvolution

AttributeError: 'DataFrame' object has no attribute 'ix'

sdhutchins opened this issue · 1 comments

self.org_dict = self.df.ix[0:, self.ref_species:].to_dict()

Pandas deprecated .ix and higher-level versions of pandas are necessary for python 3.6 and greater. This is causing the build to fail (and thus tests).

  • Bump up the pandas version to the latest for python 3.5
  • Test .loc instead .ix.

Fixed with commit c613ef5.

self.org_dict = self.df.loc[:, self.ref_species:].to_dict()