In the output code line, add "index=False" as follows:
m_pred_survived.to_csv("",index=False)
The above this Python DataFrame set output does not show index (index) value is all I have shared with you, I hope to give you a reference, and I hope you support me more.