A train operator has said there is “more work to be done” to encourage women and people from diverse backgrounds to join the industry.