Skip to content
  • Paulo Medeiros's avatar
    Fix InvalidIndexError: pandas df.at --> df.loc · 1fc97669
    Paulo Medeiros authored
    The code was using the "at" method of pandas DataFrame with multiple
    indices, and that was accepted by pandas < 1.4.0. But their docs do
    say that "at" is for single element access only, whereas "loc" is for
    access to multiple elements.
    1fc97669