I suspect what happened here is that she was released pursuant to PC 849(b). That means that the arrest will be deemed a detention only.
If no charges are filed - and very often they are not in these circumstances - your friend can possibly apply to have the record purged pursuant to PC 851.8. However, that is not likely to be granted at least not initially, but she can apply.

