官术网_书友最值得收藏!

Chapter 2. Making Your Data All It Can Be

In this chapter, we will cover the steps that you need to perform to get your data ready for analysis. You will learn about the following:

  • Importing data into MongoDB
    • Importing a CSV file into MongoDB
    • Importing an Excel file into MongoDB
    • Importing a JSON file into MongoDB
    • Importing a plain text file into MongoDB
  • Working with MongoDB using PyMongo
    • Retrieving a single record using PyMongo
    • Retrieving multiple records using PyMongo
    • Inserting a single record using PyMongo
    • Inserting multiple records using PyMongo
    • Updating a single record using PyMongo
    • Updating multiple records using PyMongo
    • Deleting a single record using PyMongo
    • Deleting multiple records using PyMongo
  • Cleaning data using Pandas
    • Importing a CSV File into a Pandas DataFrame
    • Renaming column headers in Pandas
    • Filling in missing values in Pandas
    • Removing punctuation in Pandas
    • Removing whitespace in Pandas
    • Removing any string from within a string in Pandas
  • Standardizing data with Pandas
    • Merging two datasets in Pandas
    • Titlecasing anything
    • Uppercasing a column in Pandas
    • Updating values in place in Pandas
    • Standardizing a Social Security number in Pandas
    • Standardizing dates in Pandas
    • Converting categories to numbers in Pandas for a speed boost
主站蜘蛛池模板: 清水县| 盐亭县| 江达县| 武平县| 呈贡县| 廊坊市| 卫辉市| 永宁县| 剑河县| 龙陵县| 东乌珠穆沁旗| 惠东县| 淮北市| 昌黎县| 柳林县| 刚察县| 南和县| 成武县| 正蓝旗| 康乐县| 独山县| 恩平市| 高邑县| 青州市| 密山市| 修水县| 翁牛特旗| 安化县| 琼结县| 文成县| 崇左市| 四会市| 中宁县| 古田县| 柘荣县| 留坝县| 西丰县| 克什克腾旗| 驻马店市| 麻阳| 大邑县|