code: def test_isocalendar(self):
      for psidx, pidx in self.idx_pairs:
          self.assert_eq(
              psidx.isocalendar().astype(int),
              pidx.isocalendar().astype(int),
          )
          self.assert_eq(
              psidx.isocalendar().week,
              pidx.isocalendar().week.astype(np.int64),
          )
  
file_path: spark/python/pyspark/pandas/tests/indexes/test_datetime_iso.py
imports: import numpy
  from pyspark.testing.pandasutils import PandasOnSparkTestCase
  from pyspark.pandas.tests.indexes.test_datetime import DatetimeIndexTestingFuncMixin
label_desc: Use image node_id 1 for calling the DatetimeIndexISOMixin obj's underlying member method code with example usage: obj.test_isocalendar() without return types