»
Verify the data attributes. Data items have specific attributes, which is why
Chapter 4 tells you all about how Python interprets various data types.
Chapter 5 points out that this interpretation can change when using
numpy
.
In fact, you find that data attributes change between environments, and
developers can change them even more by creating custom data types. To
combine data from various sources, you must understand these attributes to
ensure that you interpret the data correctly.
The more time you spend verifying the compatibility of data from each of the
sources you want to use for a dataset, the less likely you are to encounter problems
when working with an algorithm. Data incompatibility issues don’t always appear
as outright errors. In some cases, an incompatibility can cause other issues, such
as errant results that look correct but provide misleading information.
118
PART 2
Do'stlaringiz bilan baham: |