Oops sorry no one replied yet.

I've never kept danios so I wouldn't know but I'd think it'd be ok. As long as they don't attack the cories it should be fine. Keep in mind not to overstock your tank.
1 inch of fish per gallon of water.
Cories can get 2in. or larger.