« first day (1297 days earlier)      last day (1987 days later) » 

7:18 AM
@m0nhawk Doing a geolocation anomaly detection model (idea is that you log in from Cyprus now, If you log in from USA in 10 minutes, then that is an anomaly)
Good morning all :)
 
7:57 AM
Hi everyone :-)
 
I have a string: `Found 2 items\ndrwxrwxrwx - hdfs impala 0 2018-11-07 09:19 /data/customers/hermes_cs/ds_ueba_geolocation/cdateint=20181102\ndrwxrwxrwx - hdfs impala 0 2018-11-07 15:46 /data/customers/hermes_cs/ds_ueba_geolocation/cdateint=20181107\n`.
I need a regex to capture `20181102` and `20181107`
 
hi
@Sotos split on "="
or get regex to find start with "=" and get n digits
 
@zx8754 That was my first attempt but I want to use regex
 
8:17 AM
@Sotos stringr::str_extract_all(x, "[0-9]{8}") ?
 
@zx8754 Yes!!! That was simple :)
cheers!!!
 
8:32 AM
user image
2
^^^ never happened to me :(
 
hahaha Nice!!!
@zx8754 I hope I feel it too at some point in my life :)
 
9:13 AM
@zx8754 Your day will come. Start with something small.
 
 
5 hours later…
2:37 PM
If you learn R first, then python is hell of a lot easier to learn because of one single thing...we can search for stuff like that: "R paste for python" or "R dcast in python" :D
2
 

« first day (1297 days earlier)      last day (1987 days later) »