Rotate an object about an axis at different angles imported from a csv file at different key frames

I want to rotate an object at different angles at different frame time by importing the values of angle from a csv file. the file contains a number of angles which i want to allocate as keyframes at diffenet times

If you know Python that should not be very difficult.