code: def time_rank(
      self, constructor, window, dtype, percentile, ascending, method
  ):
      self.roll.rank(pct=percentile, ascending=ascending, method=method)
  
imports: import warnings
  import numpy
  import pandas
  from .pandas_vb_common import setup
label_desc: Use image node_id 2 for calling the Rank obj's underlying member method code with example usage: obj.time_rank(constructor, window, dtype, percentile, ascending, method) without return types