The UK government has seen rapid change after the abrupt resignation of the transport secretary followed by her swift replacement with a former transport official from London.