code: def test_transpose_execution(setup):
      raw = pd.DataFrame(
          {
              "a": ["1", "2", "3"],
              "b": ["5", "-6", "7"],
              "c": ["1", "2", "3"],
          }
      )
  
      # test 1 chunk
      df = from_pandas_df(raw)
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      # test multi chunks
      df = from_pandas_df(raw, chunk_size=2)
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      df = from_pandas_df(raw, chunk_size=2)
      result = df.T.execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      # dtypes are varied
      raw = pd.DataFrame(
          {"a": [1.1, 2.2, 3.3], "b": [5, -6, 7], "c": [1, 2, 3]}
      )
  
      df = from_pandas_df(raw, chunk_size=2)
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      raw = pd.DataFrame({"a": [1.1, 2.2, 3.3], "b": ["5", "-6", "7"]})
  
      df = from_pandas_df(raw, chunk_size=2)
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      # Transposing from results of other operands
      raw = pd.DataFrame(np.arange(0, 100).reshape(10, 10))
      df = DataFrame(arange(0, 100, chunk_size=5).reshape(10, 10))
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
      df = DataFrame(rand(100, 100, chunk_size=10))
      raw = df.to_pandas()
      result = df.transpose().execute().fetch()
      pd.testing.assert_frame_equal(result, raw.transpose())
  
imports: import random
  from collections import OrderedDict
  import numpy
  import pandas
  import pytest
  import mars
  from ....config import options, option_context
  from ....dataframe import DataFrame, Series
  from ....tensor import arange, tensor
  from ....tensor.random import rand
  from ....tests.core import require_cudf
  from ....utils import lazy_import, pd_release_version, no_default
  from ...None import eval, cut, qcut, get_dummies
  from ...core import DATAFRAME_OR_SERIES_TYPE
  from ...datasource.dataframe import from_pandas
  from ...datasource.series import from_pandas
  from ...datasource.index import from_pandas
  from ..None import to_gpu, to_cpu
  from ..bloom_filter import filter_by_bloom_filter
  from ..shift import _enable_no_default, _with_column_freq_bug
  from ..to_numeric import to_numeric
  from ..rebalance import DataFrameRebalance
label_desc: Use image node_id 18 for calling a global function with example usage: test_transpose_execution(setup) without return types