Introducing Series and DataFrames
Danfo.js exposes two main data structures, Series and DataFrames, to which all data manipulation can be done easily. DataFrames and Series provide a general representation for different types of data, hence the same data handling process can be applied to datasets with different formats.
In this section, we will look at different means of creating Series and DataFrames. We will see how to handle data in DataFrame and Series format. We will also look into different DataFrame and Series methods for data handling.
We will start this section by looking at how to handle data in a Series data structure.
Series
A Series provides an entry point to handling one-dimensional data, such as a single array with a sequence of values of the same data type.
In this section, we will get familiar with Series data structures with the following Series methods:
* table() and print() method:let sdata= new dfd.Series([1,3,5,7,9,11]) table( sdata...