You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When cleaning dates with clean_date module, if the source date contains 'August', the function will not recognize it as a date. All other text months including 'Aug' can be properly identified and cleaned.
To Reproduce
fromdataprep.cleanimportclean_dateimportpandasaspdsamp=pd.DataFrame({'date': ['2021 August 21', '2021 Aug 21', '2021 July 21', '2021 Jul 21', '2021 08 21', 'Aug 21 2021']})
clean_date(samp, 'date')
Expected behavior
E.g. '2021 August 21' will be cleaned into '2021-08-21 00:00:00'.
Screenshots
Desktop (please complete the following information):
OS: Windows 11
Browser: N/A
Platform: VSCode
Platform Version: 1.80.0
Python Version: 3.10.11
Dataprep Version: 0.4.5
Additional context
I noticed that there is already an issue open on FutureWarning: Meta is not valid.
The text was updated successfully, but these errors were encountered:
Describe the bug
When cleaning dates with clean_date module, if the source date contains 'August', the function will not recognize it as a date. All other text months including 'Aug' can be properly identified and cleaned.
To Reproduce
Expected behavior
E.g. '2021 August 21' will be cleaned into '2021-08-21 00:00:00'.
Screenshots
![image](https://private-user-images.githubusercontent.com/60707834/253046130-4a6b828d-6db5-472d-87d3-0d52d61bf43e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ2MTI5MDAsIm5iZiI6MTcyNDYxMjYwMCwicGF0aCI6Ii82MDcwNzgzNC8yNTMwNDYxMzAtNGE2YjgyOGQtNmRiNS00NzJkLTg3ZDMtMGQ1MmQ2MWJmNDNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI1VDE5MDMyMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTliZGNkN2Y1YzRhNTc4MjJjNGMxYjFkMTU0MTg3ZTlhMzQyYWUwNzNlODRkY2Y4ZWEwM2ZmMTRiZGZjMWIwYmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.W15aM_7T_LCGxEW0ceaDm6Eq74H95Wu6MMDIwRUj7ek)
Desktop (please complete the following information):
Additional context
I noticed that there is already an issue open on FutureWarning: Meta is not valid.
The text was updated successfully, but these errors were encountered: