Breakdown of Nos da pena que te vayas del piso.
el piso
the flat
del
of the / from the / about the (topic)
que
that (relative pronoun, conjunction)
nos
to us / ourselves / us (direct object)
Questions & Answers about Nos da pena que te vayas del piso.
Why is the verb vayas instead of vas?
The phrase Nos da pena que expresses an emotion (sadness). When you express an emotion about what someone else is doing, Spanish requires the second verb to be in the subjunctive mood. That is why the normal present tense vas changes to the subjunctive vayas.
Why use Nos da pena instead of Estamos tristes?
Why is there a te before vayas?
I thought piso meant 'floor'. Why does it mean 'apartment' here?
You are right that piso means 'floor' or 'level' of a building. However, in Spain, it is also the standard everyday word for a 'flat' or 'apartment'.