def a():
for i in range(0, len(pd), 1):
for j in range(0, 10, 1):
sum = pd['d'].iloc[i] + sum
À̺κÐÀÌ ¹®Á¦ °°Àºµ¥¿ä.
¿øÇÏ½Ã´Â°Ô sum º¯¼ö¿¡ pd['d'].iloc[i]ÀÇ ÇÕÀ» ÀúÀåÇÏ·Á´Â °ÍÀ¸·Î º¸À̳׿ä.
±×·±µ¥ sum º¯¼ö´Â ¼±¾ðµÇÁö ¾ÊÀºÃ¤ + sumÀ» ÇÏ´Ï ÃʱâÈ ¾øÀÌ »ç¿ëÇؼ ¹®Á¦°¡ µÇ´Â °ÍÀ¸·Î º¸À̳׿ä...
sum = 0
sum += pd['d'].iloc[i]
ÀÌ·¸°Ô ÇÑ ¹ø Çغ¸¼¼¿ä ( ..)
def a():
for i in range(0, len(pd), 1):
for j in range(0, 10, 1):
sum = pd['d'].iloc[i] + sum
À̺κÐÀÌ ¹®Á¦ °°Àºµ¥¿ä.
¿øÇÏ½Ã´Â°Ô sum º¯¼ö¿¡ pd['d'].iloc[i]ÀÇ ÇÕÀ» ÀúÀåÇÏ·Á´Â °ÍÀ¸·Î º¸À̳׿ä.
±×·±µ¥ sum º¯¼ö´Â ¼±¾ðµÇÁö ¾ÊÀºÃ¤ + sumÀ» ÇÏ´Ï ÃʱâÈ ¾øÀÌ »ç¿ëÇؼ ¹®Á¦°¡ µÇ´Â °ÍÀ¸·Î º¸À̳׿ä...
def a():
sum = 0
for i in range(0, len(pd), 1):
for j in range(0, 10, 1):
sum += pd['d'].iloc[i]
ÀÌ·¸°Ô ÇÑ ¹ø Çغ¸¼¼¿ä ( ..)