Tā zài Běijīng dāi le gè bǎ yuè, rán hòu huí lái le.
He stayed in Beijing for about a month or so, then came back.
Tips
grammar
个把 is a colloquial measure of approximate small quantity, typically meaning 'about one' or 'one or two'. It always precedes a measure word or noun: 个把小时 (about an hour), 个把月 (about a month), 个把人 (one or two people).