Creating different DataFrame operation components
In this section, we will create different DataFrame
operation components and also implement the Side Plane
for DataFrame
operation components. Danfo.js contains a lot of DataFrame
operations. If we were to design a component for each, it would be very stressful and redundant.
To prevent the creation of a component for each DataFrame
method, we group each of the DataFrame
operations based on their (keyword) argument, that is, based on the variable passed into them. For example, there are some DataFrame
methods that take in only the axis of operation, hence we can group these types of methods together.
Here is a list of DataFrame
operation components to be created and the DataFrame
method grouped under them:
- The Arithmetic component: This contains the
DataFrame
method whose argument is only the axis of operation, which can be either1
or0
. The methods used to carry out arithmetic operations onDataFrame
includemin
,max...