Why is 在...里 in the front of 在大学里她学习了生物? It means "At university, she studied biology.", correct?

So far I've learned that location goes after the subject, but I've seen this construct twice now. The other time it was in a sentence that was translated (not by me) to "We are not allowed to eat inside the subway".

The "inside the subway" bit was again at the front of the sentence. It's not really any harder for me to read, but if I was asked write this sentence I'd probably forget and put the location after the subject.

Why does the 在...里 construct lead?
Assuming your question is about the placement of 她, either way is fine:


  她在大学学习了生物 (she studied biology at university)





  在大学她学习了生物 (at university, she studied biology)


The latter has somewhat more focus on it happening at university, but in this sentence it doesn't make much of a difference.

This basically goes for all kinds of situations, not just explicit 在, for example "我今天要去中学" and "今天我要去中学" are both equally valid, but the latter has more focus on the time at which the action will occur.