Pandas version checks
Location of the documentation
https://pandas.pydata.org/docs/dev/reference/api/pandas.Index.take.html
Documentation problem
axis being "index" is also accepted at run time, in contrast to the claim of being int and always 0.
import pandas as pd
pd.Series([1, 2, 3, 4]).take([1, 1, 2, 2], axis="index")
Suggested fix for documentation
axis : {0 or 'index'}, optional
The axis over which to select values, always 0 or 'index'.