Here is a small sample of dataframe I would like to split into two separate dataframes.
No Code Name Rem Last Done LACP Chg % Chg Vol ('00) \
0 1 0012 3A [S] s 0.940 0.940 - - 20
1 2 7054 AASIA [S] s - 0.205 - - -
2 3 5238 AAX [S] s 0.345 0.340 0.005 +1.47 37,806
3 4 5238WA AAX-WA [S] s 0.135 0.135 - - 590
4 5 7086 ABLEGRP [S] s 0.095 0.100 -0.005 -5.00 300
I want to filter on the "Code" column based on matching or not matching the following python regular expression:
"^[0-9]{1,5}$"