Both for me. I'm staunchly against the political beliefs of my closest co-workers, and I hate so much of what they say, but they generally provide fantastic discussions at lunch because there is a huge mix of largely libertarians, lefties, righties and people who just have thoughts and don't identify with some direction.
Some people say "I could not be friends with my colleagues, I am happy to get rid of them." I could not work like that. I was just drinking with my boss. I am spending lot of time with my colleagues. I could not work with people I hate - my time is too precious for that.
SO far, I always formed meaningful friendships at work.
Many of my best friends I met at a place I worked about a decade ago. We commonly worked 60-80 hour weeks, and spending that much time with people helps you get to really know them. Ended up having a few of them as roommates after we all left the company.
I like everyone I directly work with (except Frank, fuck that guy). But I hate almost all of administration.
It boggles my mind how they were able to put together a team of people that care so little about human life. It's not like they personally profit by screwing over the other staff and the students, yet they seem to love doing it.
For the most part I like the people I work with, our company's culture tends to attract dedicated people who own their jobs and is structured pretty flexibly. Plus every one likes to drink.