So, I really want to add on a few new methods to pandas.core.frame.DataFrames. For example, I want a method called .idx:
pandas.core.frame.DataFrame.idx(self, rows, cols):
    return self.iloc[rows].loc[cols]
Is this possible? I'm not sure what the syntax should be - the class already exists from a library, so I can't just put the function inside the class definition.
 
     
     
    