๋ฐ์ํ
for i, row in df.iterrows():
print(row['name'])
# ๊ฐ ๋ณ๊ฒฝ
df.loc[i, 'name'] = 'Jenny'
๋ฐ์ํ
'Python > Pandas' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Pandas] Dataframe ์์์ ๊ด๋ จ (0) | 2022.10.31 |
---|---|
[Python] Pandas - Dataframe ํจ์ ๋ชจ์ (0) | 2021.07.26 |
[Python] Pandas - DataFrame ์ด์์น ์ ๊ฑฐ (0) | 2020.12.23 |
[Python] Pandas - DataFrame ํน์ ์ด ์ ํ (0) | 2020.12.18 |
[Python] Pandas - DataFrame ์ธ๋ฑ์ค reset ํ๊ธฐ (0) | 2020.12.18 |