Table of Contents:
brainstat.stats.terms.
get_index
Get index for column names of the form x{i}.
If there are none, return 0.
df (DataFrame) – Input dataframe.
index (int) – Index for the next x column. If df is empty, return None.