Chapter 7

Processing Your Data

IN THIS CHAPTER

Bullet Working with NumPy and pandas

Bullet Working with symbolic variables

Bullet Considering the effect of dates

Bullet Fixing missing data

Bullet Slicing, combining, and modifying data elements

The characteristics, content, type, and other elements that define your data in its entirety forms the data shape. The shape of your data determines the kinds of tasks you can perform with it. In order to make your data amenable to certain types of analysis, you must shape it into a different form. Think of the data as clay and you as the potter, because that’s the sort of relationship you have with it. Instead of using your hands to shape the data, you rely on functions and algorithms to perform the task. This chapter helps you understand the tools you have available to shape data and the ramifications of shaping it.

Tip Note that shaping data doesn’t mean changing its value. Think ...

Get Python for Data Science For Dummies, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.