Chapter 1

Conditioning Your Data

IN THIS CHAPTER

check Working with NumPy and pandas

check Knowing your data

check Working with symbolic variables

check Fixing missing data

check Creating data slices

check Adding data elements and modifying data type

“In God we trust. All others must bring data.”

— W. EDWARDS DEMING

The characteristics, content, type, and other elements that define your data in its entirety is 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 that exists. However, 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 ...

Get Coding All-in-One For Dummies 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.