Hey guys I need some help, my date is not in the correct format.
I made a function to convert all columns of dates it works but, it gives a return of SettingWithCopyWarning.
(https://i.stack.imgur.com/5xlT4.png)
(https://i.stack.imgur.com/hZe9f.png)
(https://i.stack.imgur.com/iglZB.png)
can you tell me how to solve this I've tried in several ways.
CodePudding user response:
If your code is working and is doing its job you can always ignore the error by adding this at the top. I would not recommend it in a very large scale project.
from pandas.core.common import SettingWithCopyWarning
warnings.simplefilter(action="ignore", category=SettingWithCopyWarning)