  
  
  class NthValue(Func):
      function = 'NTH_VALUE'
      name = 'NthValue'
      window_compatible = True
  
      def __init__(self, expression, nth=1, **extra):
          if expression is None:
              raise ValueError('%s requires a non-null source expression.' % self.__class__.__name__)
 
</s> remove     name = 'Ntile'
 </s> add  </s> remove     name = 'Lead'
 </s> add  </s> remove     name = 'FirstValue'
 </s> add  </s> remove     name = 'LastValue'
 </s> add  </s> remove     name = 'Rank'
 </s> add 
  
  
  class NthValue(Func):
      function = 'NTH_VALUE'

      window_compatible = True
  
      def __init__(self, expression, nth=1, **extra):
          if expression is None:
              raise ValueError('%s requires a non-null source expression.' % self.__class__.__name__)
keep keep keep keep replace keep keep keep keep keep
 Refs #26608 -- Removed unneeded name attribute in window functions. 
django/db/models/functions/window.py