class_docstr: Additional methods;
  Public methods that can be used for test cases.
class_docstr_tok: ["Additional","methods",";","Public","methods","that","can","be","used","for","test","cases","."]
docstr: insert default entities into two partitions(partition_w and _default) in half(int64 and float fields values)
  :param half: half of nb
  :return: collection wrap and partition wrap
docstr_tok: ["insert","default","entities","into","two","partitions","(","partition_w","and","_default",")","in","half","(","int64","and","float","fields","values",")",":","param","half",":","half","of","nb",":","return",":","collection","wrap","and","partition","wrap"]
code: def insert_entities_into_two_partitions_in_half(
      self, half, prefix="query"
  ):
      """
      insert default entities into two partitions(partition_w and _default) in half(int64 and float fields values)
      :param half: half of nb
      :return: collection wrap and partition wrap
      """
      self._connect()
      collection_w = self.init_collection_wrap(
          name=cf.gen_unique_str(prefix)
      )
      partition_w = self.init_partition_wrap(
          collection_wrap=collection_w
      )
      # insert [0, half) into partition_w
      df_partition = cf.gen_default_dataframe_data(nb=half, start=0)
      partition_w.insert(df_partition)
      # insert [half, nb) into _default
      df_default = cf.gen_default_dataframe_data(nb=half, start=half)
      collection_w.insert(df_default)
      # flush
      collection_w.num_entities
      collection_w.create_index(
          ct.default_float_vec_field_name,
          index_params=ct.default_flat_index,
      )
      collection_w.load(partition_names=[partition_w.name, "_default"])
      return collection_w, partition_w, df_partition, df_default
  
imports: from numpy.core.fromnumeric import _partition_dispatcher
  import pytest
  import sys
  from pymilvus import DefaultConfig
  from base.database_wrapper import ApiDatabaseWrapper
  from base.connections_wrapper import ApiConnectionsWrapper
  from base.collection_wrapper import ApiCollectionWrapper
  from base.partition_wrapper import ApiPartitionWrapper
  from base.index_wrapper import ApiIndexWrapper
  from base.utility_wrapper import ApiUtilityWrapper
  from base.schema_wrapper import ApiCollectionSchemaWrapper, ApiFieldSchemaWrapper
  from base.high_level_api_wrapper import HighLevelApiWrapper
  from utils.util_log import test_log
  from common import common_func
  from common import common_type
  from pymilvus import ResourceGroupInfo
label_desc: Use image node_id 7 for calling the TestcaseBase obj's underlying member method code with example usage: obj.insert_entities_into_two_partitions_in_half(half, prefix) and returns: collection_w,  partition_w,  df_partition,  df_default