What is the difference between iloc and loc with respect to Dataframe ?

lociloc
It is label based selection methodIt is index based selection method
Both start label and end label are included when given as start:endLike slices end index or position is excluded when given as start:end
error: Content is protected !!