I need some help to a doc page for a particular syntax (keep in mind I am a c programmer…) I have seen code that looks like this:
sepal_length_column = iris[:Sepal_Length]
In the case above, it was an example from the dataframes module. What is the syntax in the square brackets? It is being used like array interation but with a string. I have not seen this type of syntax in other languages. I have also seen in in the PyPlot library. here is an example:
ax[:spines][“top”]:set_color # Remove the top axis boundary
In this case :spines looks like it is some sort of binding to a class member in matplotlib.
A pointer to what this syntax is called would be helpful.