code: def test_to_pandas(products):
      df = SentinelAPI.to_dataframe(products)
      assert type(df).__name__ == "DataFrame"
      assert len(products) == len(df)
      assert set(products) == set(df.index)
  
file_path: sentinelsat/tests/test_pandas.py
imports: import sys
  import pytest
  from sentinelsat import SentinelAPI
label_desc: Use image node_id 3 for calling a global function with example usage: test_to_pandas(products) without return types