I want to create a dataframe using pandas where 1 column is 'EmployeeID' and the second one is 'skill' set he has ranging form 1 to 5. The 'EmployeeID' column should have unique values whereas the 'skill' column can have repetitive values. 1. I tried to generate the 'EmployeeID' using the below code:
df = pd.DataFrame({'EmployeeID':[random.sample(range(123456,135000),100)]})
but the result is not what i expected. It generated all the numbers and put them in one row
- Random.sample is giving me unique values. How can i generate 100 repetitive values in a given range? Tried using randint but it doesn't have the option of passing the count of numbers to generate

np.random.randint:pd.DataFrame({'EmployeeID': np.random.randint(123456, 135000, 100)})How can i generate 100 repetitive values in a given range?does NOT attempt to explain clearly what your problem is and what you want. Some expected output would also help. Sure, this time there was someone ready to pander to your needs but that won't happen always. Please keep in mind that you are leaving behind a digital carbon footprint for future generations to come across your question should they have the same problem, so don't disappoint.