be-theboss-in-python icon indicating copy to clipboard operation
be-theboss-in-python copied to clipboard

Regex not found error

Open Giftadene opened this issue 2 years ago • 5 comments

I get error message after opening the chat export and it doesn't work e

also, I get the "empty data frame" message e1

Giftadene avatar Oct 20 '22 21:10 Giftadene

I get error message after opening the chat export and it doesn't work e

For the regex, it is simply just replace 'regex' with 're'. Because it was already imported in 'import re'

also, I get the "empty data frame" message e1

I also have the same issue with the empty data frame

muhammadalqaaf avatar Oct 24 '22 06:10 muhammadalqaaf

I also have the same issue with empty data frame image

abiasykari avatar Oct 24 '22 08:10 abiasykari

I also have the same issue with empty data frame image

I found the issue why you got empty data frame. It happens when the code does not match with the chat extracted data. So you need to adjust the code to match your data.

muhammadalqaaf avatar Oct 25 '22 02:10 muhammadalqaaf

May you tell which code that not match with chat extracted data?

abiasykari avatar Oct 25 '22 03:10 abiasykari

The date format must different. Please check the date format of your whatsapp chat and accordingly change the regex.

afizs avatar Oct 28 '22 14:10 afizs

For the regex error and the empty dataframe. I've solved this way: imagen

just changing the regular expression and using compile function.

Pascual2m avatar Dec 09 '22 19:12 Pascual2m

Please use the technique provided by @Pascual2m if you face a regex issue.

https://github.com/afizs/be-theboss-in-python/issues/1#issuecomment-1344698782

afizs avatar Feb 24 '23 02:02 afizs