Merge the dataset by day or month

I have the raw dataset. The below raw dataset, which is sample data, has time and sentiment(positive, neutral, negative). This raw dataset is : created_time neg_sentiment neu_sentiment pos_sentiment 2015-01-12T23:27:53+0000 0 0 1 2015-01-13T00:36:15+0000 0 0 1 2015-01-13T00:39:37+0000 0.02 0 0.98 2015-01-13T01:26:05+0000 0.41 0.59 0 2015-01-15T16:10:46+0000 0.14 0.02 0.84 2015-02-13T02:38:59+0000 0.86 0.1 0 2015-01-13T21:00:15+0000 1 0…

Details

Why are inputs in the list getting overwritten

Code at the moment : List=list() while True: print( ‘a. Add a new record’ ‘b. Display all employees’ ‘c. Exit’ ) option=input(“Enter an option”) if option == “a” : sur= input(“enter surname”) fir = input(“enter firstname”) List.append(sur) List.append(fir) elif option == “b” : for x in empList: print(“firstname :” , fir) print(“surname :” , sur)…

Details