Essential functions and methods in Danfo.js
In this section, we will look at some important functions and methods in relation to Series and DataFrames. The methods in each of the data structures are a lot and we can always visit the documentation for more methods. This section will only mention some of the most commonly used methods:
locandilocindexing- Sorting: the 
sort_valuesandsort_indexmethods Filter- Arithmetic operations such as 
add,sub,div,mul, andcumsum 
loc and iloc indexing
Accessing DataFrame rows and columns is made easier with the loc and iloc methods; both methods allow you to specify the rows and columns you would like to access. For those of you coming from Python' pandas library, the loc and iloc format as implemented in Danfo.js should be familiar. 
The loc method is used to access a DataFrame with an index that is not numeric, as follows:
df_index = df4.loc({rows:['Bellion','Rihanna','Drake...