在好例子网,分享、交流、成长!
您当前所在位置:首页Python 开发实例Python语言基础 → 社交媒体数据挖掘(Mining Social Media).pdf

社交媒体数据挖掘(Mining Social Media).pdf

Python语言基础

下载此实例
  • 开发语言:Python
  • 实例大小:7.48M
  • 下载次数:13
  • 浏览次数:539
  • 发布时间:2020-02-03
  • 实例类别:Python语言基础
  • 发 布 人:1654
  • 文件格式:.pdf
  • 所需积分:2
 相关标签: 机器学习 实战 机器 学习

实例介绍

【实例简介】

【实例截图】

from clipboard

【核心代码】

BRIEF CONTENTS
Acknowledgments
Introduction
Part I: Data Mining
Chapter 1: The Programming Languages You’ll Need to Know
Chapter 2: Where to Get Your Data
Chapter 3: Getting Data with Code
Chapter 4: Scraping Your Own Facebook Data
Chapter 5: Scraping a Live Site
Part II: Data Analysis
Chapter 6: Introduction to Data Analysis
Chapter 7: Visualizing Your Data
Chapter 8: Advanced Tools for Data Analysis
Chapter 9: Finding Trends in Reddit Data
Chapter 10: Measuring the Twitter Activity of Political Actors
Chapter 11: Where to Go from Here
Index
CONTENTS IN DETAIL
Acknowledgments
Introduction
What Is Data Analysis?
Who Is This Book For?
Conventions Used in This Book
What This Book Covers
Part I: Data Mining
Part II: Data Analysis
Downloading and Installing Python
Installing on Windows
Installing on macOS
Getting Help When You’re Stuck
Summary
PART I: DATA MINING
1
THE PROGRAMMING LANGUAGES YOU’LL NEED TO KNOW
Frontend Languages
How HTML Works
How CSS Works
How JavaScript Works
Backend Languages
Using Python
Getting Started with Python
Working with Numbers
Working with Strings
Storing Values in Variables
Storing Multiple Values in Lists
Working with Functions
Creating Your Own Functions
Using Loops
Using Conditionals
Summary
2
WHERE TO GET YOUR DATA
What Is an API?
Using an API to Get Data
Getting a YouTube API Key
Retrieving JSON Objects Using Your Credentials
Answering a Research Question Using Data
Refining the Data That Your API Returns
Summary
3
GETTING DATA WITH CODE
Writing Your First Script
Running a Script
Planning Out a Script
Libraries and pip
Creating a URL-based API Call
Storing Data in a Spreadsheet
Converting JSON into a Dictionary
Going Back to the Script
Running the Finished Script
Dealing with API Pagination
Templates: How to Make Your Code Reusable
Storing Values That Change in Variables
Storing Code in a Reusable Function
Summary
4
SCRAPING YOUR OWN FACEBOOK DATA
Your Data Sources
Downloading Your Facebook Data
Reviewing the Data and Inspecting the Code
Structuring Information as Data
Scraping Automatically
Analyzing HTML Code to Recognize Patterns
Grabbing the Elements You Need
Extracting the Contents
Writing Data into a Spreadsheet
Building Your Rows List
Writing to Your .csv File
Running the Script
Summary
5
SCRAPING A LIVE SITE
Messy Data
Ethical Considerations for Data Scraping
The Robots Exclusion Protocol
The Terms of Service
Technical Considerations for Data Scraping
Reasons for Scraping Data
Scraping from a Live Website
Analyzing the Page’s Contents
Storing the Page Content in Variables
Making the Script Reusable
Practicing Polite Scraping
Summary
PART II: DATA ANALYSIS
6
INTRODUCTION TO DATA ANALYSIS
The Process of Data Analysis
Bot Spotting
Getting Started with Google Sheets
Modifying and Formatting the Data
Aggregating the Data
Using Pivot Tables to Summarize Data
Using Formulas to Do Math
Sorting and Filtering the Data
Merging Data Sets
Other Ways to Use Google Sheets
Summary
7
VISUALIZING YOUR DATA
Understanding Our Bot Through Charts
Choosing a Chart
Specifying a Time Period
Making a Chart
Conditional Formatting
Single-Color Formatting
Color Scale Formatting
Summary
8
ADVANCED TOOLS FOR DATA ANALYSIS
Using Jupyter Notebook
Setting Up a Virtual Environment
Organizing the Notebook
Installing Jupyter and Creating Your First Notebook
Working with Cells
What Is pandas?
Working with Series and Data Frames
Reading and Exploring Large Data Files
Looking at the Data
Viewing Specific Columns and Rows
Summary
9
FINDING TRENDS IN REDDIT DATA
Clarifying Our Research Objective
Outlining a Method
Narrowing the Data’s Scope
Selecting Data from Specific Columns
Handling Null Values
Classifying the Data
Summarizing the Data
Sorting the Data
Describing the Data
Summary
10
MEASURING THE TWITTER ACTIVITY OF POLITICAL ACTORS
Getting Started
Setting Up Your Environment
Loading the Data into Your Notebook
Lambdas
Filtering the Data Set
Formatting the Data as datetimes
Resampling the Data
Plotting the Data
Summary
11
WHERE TO GO FROM HERE
Coding Styles
Statistical Analysis
Other Kinds of Analyses
Conclusion
Index

实例下载地址

社交媒体数据挖掘(Mining Social Media).pdf

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警