본문 바로가기

Data Science Explorer

검색하기
Data Science Explorer
프로필사진 grace21110

  • Categories (96)
    • GitHub (4)
    • Python (42)
    • Django (3)
    • MySQL (0)
    • Machine Learning (10)
    • Project (0)
    • PostgreSQL (0)
    • SQL (33)
    • Projects (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Tags
  • matplotlib.pyplot
  • variables
  • __init__
  • matplotlib
  • Default X points
  • train/test
  • AS
  • pie charts
  • Text mining
  • data distribution
  • PANDAS
  • continue
  • start exercise
  • PROJECT
  • Python
  • break
  • Else
  • Github
  • iterates
  • multiple lines
  • line color
  • polynomial regression
  • MySQL
  • error
  • Text Analytics
  • SQL
  • line width
  • machine learning
  • For loops
  • self parameter
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Cleaning data (1)

Data Science Explorer

Pandas: Cleaning Data of Wrong Format

Sometimes our data might not be in the format we expect. For example, numbers might be stored as text, or dates might not be recognized as dates. We need to identify these issues. Convert into a Correct Format Example Convert the 'Age' column to numbers. df['Age'] = pd.to_numeric (df['Age'], errors = 'coerce') ** The 'errors' parameter helps handle cases where the conversion isn't possible, and ..

Python 2023. 10. 29. 10:37
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바