code: def test_take_mixed_type(self, float_string_frame):
      # mixed-dtype
      order = [4, 1, 2, 0, 3]
      for df in [float_string_frame]:
          result = df.take(order, axis=0)
          expected = df.reindex(df.index.take(order))
          tm.assert_frame_equal(result, expected)
  
          # axis = 1
          result = df.take(order, axis=1)
          expected = df.loc[:, ["foo", "B", "C", "A", "D"]]
          tm.assert_frame_equal(result, expected)
  
      # negative indices
      order = [4, 1, -2]
      for df in [float_string_frame]:
          result = df.take(order, axis=0)
          expected = df.reindex(df.index.take(order))
          tm.assert_frame_equal(result, expected)
  
          # axis = 1
          result = df.take(order, axis=1)
          expected = df.loc[:, ["foo", "B", "D"]]
          tm.assert_frame_equal(result, expected)
  
imports: import pytest
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestDataFrameTake obj's underlying member method code with example usage: obj.test_take_mixed_type(float_string_frame) without return types