The pill and depression

So I am an undergraduate student studying the contraceptive pill (various types) and depression. I suffered from depression whilst on Yasmin and wondered if anyone else has had similar experiences with same or other pills. Now I'm off the pill I completely feel myself. Any information would be greatly appreciated and if you leave an email on the comments for me to contact you further that would be great . Thank you everyone 💖