Git Product home page Git Product logo

bosszhipin_spider's Introduction

BOSS直聘的数据分析


库依赖

  • 基于Python3.6
  • Jupyter Notebook
  • pyecharts
  • pymongo
  • pandas
  • numpy

爬虫实现过程

分析URL

url

  • c后的编号对应不同城市
  • page后的数字则对应页码

爬取所有省、市对应的code

city.py实现地区与对应code的爬取

根据codelist爬取所有地区的职位

  • 爬取内容包含:signal、省、市、职位名称、薪资、公司名称、工作经验、学历要求、公司规模。

- signal字段作用在于重复爬取时跳过已爬取的页面。 - 存入MongoDB中


进行数据分析

读取数据

利用pandas读取数据库中数据


添加新列:salary

利用正则提取出[职位薪资]


数据清洗

  • 移除重复数据


  • 数据筛选过滤,去除过高和过低的薪资

  • 去除与“数据分析”无关的岗位信息

数据可视化






机器学习部分分析







变量重要性


bosszhipin_spider's People

Contributors

brandonchow1997 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

bosszhipin_spider's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.