Mamdani was a trailblazing candidate and is expected by many in his city of 8 million - some with hope, some with trepidation - to be a disruptive mayor.