This grammar shows surprise. Something is different from what you expect. It is like saying 'for a...' or 'considering...'.
アメリカに、。
Considering he lived in America for three years, his English hasn't improved much.
、。
For this price, the quality is good, isn't it?
、。
I think it was a great result for a first attempt.
、。
Considering he said he was bad because he just started practicing, he plays the piano very well.
、。
For an elementary school student, he knew a lot of difficult kanji.