Type error in lesson 2, get_data method

I hit the same error, but I passed it by referring the discussion below.
It seems get_data method should be used as get_data(path+‘train’).