How do you increase an animations speed through c#

Making a game where the walk speed of the enemy characters increases with each wave. The actual movement is fine but eventually the speed of movement does not match the speed of the walk animation. Is there a way to change the animation by say a float?
something like animationSpeed = =.5f or something. I’m a little confused on whether I should be focusing my attention on scripting or the actual animator to get the desired result. Any help would be appreciated.

You can get a reference to your Animator and set the speed property