Object Oriented Programming for data science

Is it necessary to learn Object oriented programming for data science as per freeCodeCamp it is needed but as per Kaggle courses it is not needed?

Can someone please guide me here?