code: def test_exp():
      s = pd.Series([0, 1, 2, 3, -1])
      out = s.exp()
      assert (out == np.exp(s)).all()
      assert (s.index == out.index).all()
  
imports: import numpy
  import pandas
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_exp() without return types