guppies hanging with danios

They are both community (and semi-hyperactive) fish, so they should get along as you observed.
 
AquariaCentral.com