On 22/02/17 02:55, Francis Pino wrote:
> I need to recode my hotel ratings as 1-3 = Negative and 4-5 Positive. Can
> you help point me in the direction to do this? I know I need to make a loop
> using for and in and may statement like for rating in review if review >= 3
> print ('Negative') else
I need to recode my hotel ratings as 1-3 = Negative and 4-5 Positive. Can
you help point me in the direction to do this? I know I need to make a loop
using for and in and may statement like for rating in review if review >= 3
print ('Negative') else print 'Negative'. Here's my code so far.
fr