code: def test_export_csv() -> None:
      with tempfile.NamedTemporaryFile(
          mode="w+", encoding="utf-8"
      ) as tmpfile:
          xp = hip.Experiment.from_iterable(
              [{"uid": 1, "k": "v"}, {"uid": 2, "k": "vk", "k2": "vk2"}]
          )
          xp.to_csv(tmpfile)
          xp.validate()
  
          tmpfile.seek(0)
          xp2 = hip.Experiment.from_csv(tmpfile)
          assert len(xp2.datapoints) == 2
          xp2.validate()
  
imports: import tempfile
  import shutil
  from contextlib import contextmanager
  from unittest.mock import patch
  import typing
  import pytest
  import pandas
  import optuna
  import hiplot
label_desc: Use image node_id 11 for calling a global function with example usage: test_export_csv() without return types