본문 바로가기
Programming/python

[웹 스크래핑]

by 그렉그의 2023. 4. 1.

1. 웹 크롤링

웹 페이지 내 허용된 링크를 마구잡이로 가져옴

2. 웹 스크래핑

웹 페이지에서 다양한 방법으로 필요한 부분만 가져오는 것  

 

 

 

head(diamonds) str(diamonds) glimpse(diamonds) colnames(diamonds) rename(diamonds, carat_New = carat) ggplot(data = diamonds, aes(x = carat, y = price, color = cut)) +   geom_point() +   facet_wrap(~cut)