How to Convert Floats to Strings in Pandas DataFrame - swkim0128/PARA GitHub Wiki
- Author: GeeksforGeeks
- Full Title: How to Convert Floats to Strings in Pandas DataFrame?
- Category: #articles
- Document Tags: pandas python
- Summary: A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
- URL: https://www.geeksforgeeks.org/how-to-convert-floats-to-strings-in-pandas-dataframe/
- DataFrame.astype(dtype, copy=True, errors=โraiseโ, **kwargs) (View Highlight)
- Note: python pandas dataframe ํ์ ๋ณํ ํจ์
-
df[``'Marks'``]
=
df[``'Marks'``].astype(``str``)
(View Highlight)- Note: pandas ํน์ ์ด ํ์ ๋ณ๊ฒฝ ๋ฐฉ๋ฒ