How to remove data from array in python

 <?php 

$days = "1,2,3,4";


// Split the string into an array

$daysArray = explode(',', $days);


// Remove the first value from the array

array_shift($daysArray);


// Now $daysArray will have the values '2', '3', '4'

print_r($daysArray);

?>