Data preparation
When dealing with information collected from diverse data sources, it is crucial to ensure consistency and uniformity across all records and fields before extracting insights or feeding the data into a machine learning model. In this section, we will explore various data preparation tasks that are particularly relevant to on-chain data.
Hex values
Hexadecimal notation is a base 16 system, utilizing symbols to represent numerical values from 0 to 9 and letters from A to F. In contrast, our everyday decimal notation employs 10 symbols to represent numerical values (0–9). Hexadecimal notation extends the range by including A to F, representing values from 10 to 15. This notation is often used for data storage purposes due to its efficiency in representing binary numbers with each hex digit representing 4 bits.
In the example presented in Chapter06/Preparation
, we retrieve the latest block number from the Rootstock public node by following the documentation...