Let us now take a look at how the duration of calls is related to subscription:
%sql select duration,y, count(1) from trainData group by duration,y order by duration,y
The charts show that most of the calls are short and the subscription ratio is proportional to the call duration. The expanded version provides better insight: