468,291 Members | 1,698 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,291 developers. It's quick & easy.

My Csv File looks like below

My Csv File looks like below
Territory NoOfCustomer
D00060 10
D00061 20
D00065 70
D00067 90

I have to create a Unique Id based on Number of NoOfCustomer like If NoOfCustomer <=50
then I have to create 10 different Unique ID for Territory D00060 and 10 different Unique ID for Territory D00061.

Here I read my csv file in pandas like
Oct 25 '18 #1
0 1443

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by jeff_zhang446 | last post: by
5 posts views Thread by microsoft.news.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.