On discrete symmetries of robotics systems: A group-theoretic and data-driven analysis