The other thing is that a heat pump can be so efficient, that it’s net beneficial to burn nat gas at a power plant and use that electricity to run a heat pump.
But this all falls apart near and below freezing temperatures.
NYC will still want to have direct-burn natural gas heating for cold days because that’ll be more efficient than resorting to resistive heating.