Skip to content

Commit

Permalink
Remove typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sgugger committed Nov 18, 2018
1 parent 3cca345 commit f60f65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastai/tabular/data.py
Expand Up @@ -69,7 +69,7 @@ def process_one(self, item):
if len(self.cat_names) != 0:
codes = np.stack([c.cat.codes.values for n,c in df[self.cat_names].items()], 1).astype(np.int64) + 1
else: codes = [[]]
if len(self.cont_names) != 0 is not None:
if len(self.cont_names) != 0:
conts = np.stack([c.astype('float32').values for n,c in df[self.cont_names].items()], 1)
else: conts = [[]]
classes = None
Expand Down

0 comments on commit f60f65f

Please sign in to comment.