This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Currently, I have a request where I need to group the data on the ID level and create a new column "Calc_Min_hour" which will take the minimum hour value from the "Min_Hour" column and have that pasted to the new column "Calc_Min_hour".
Now based on the above data, the Minimum value of column "Min_Hour" is 11 for ID 1 and 8 for ID 2. So, I need a new column "Calc_Min_Hour", with the data shown below;