I have a dataframe similar to the following:
df:
ip last_active
192.167.0.9 01/02/2012
226.90.2.12 05/06/2013
10.90.2.09 05/06/2014
12.60.2.80
192.168.2.11-17 05/06/2016
Is there a way to expand the ip address from last row in the df? A perfect solution would be:
df:
ip last_active
192.167.0.9 01/02/2012
226.90.2.12 05/06/2013
10.90.2.09 05/06/2014
12.60.2.80
192.168.2.11 05/06/2016
192.168.2.12 05/06/2016
192.168.2.13 05/06/2016
192.168.2.14 05/06/2016
192.168.2.15 05/06/2016
192.168.2.16 05/06/2016
192.168.2.17 05/06/2016
Any guidance is appreciated!