code: def test_no_head(prepare_data):
      tempdir, pdf = prepare_data
      file_path = os.path.join(tempdir, "test.csv")
      pdf.to_csv(file_path, index=False)
  
      size = os.stat(file_path).st_size / 2
      df1 = md.read_csv(file_path, chunk_bytes=size)
      df2 = df1.iloc[1:10]
  
      graph = TileableGraph([df2.data])
      next(TileableGraphBuilder(graph).build())
      records = optimize(graph)
      assert records.get_optimization_result(df1.data) is None
      assert records.get_optimization_result(df2.data) is None
  
      df2 = df1.head(3)
      df3 = df1 + 1
  
      graph = TileableGraph([df2.data, df3.data])
      next(TileableGraphBuilder(graph).build())
      records = optimize(graph)
      assert records.get_optimization_result(df1.data) is None
      assert records.get_optimization_result(df2.data) is None
      assert records.get_optimization_result(df3.data) is None
  
file_path: mars/mars/optimization/logical/tileable/tests/test_head.py
imports: import os
  import tempfile
  import pandas
  import numpy
  import pytest
  from .....None import dataframe
  from .....core import TileableGraph, TileableGraphBuilder, enter_mode
  from .....dataframe.indexing.iloc import DataFrameIlocGetItem, SeriesIlocGetItem
  from ..None import optimize
label_desc: Use image node_id 7 for calling a global function with example usage: test_no_head(prepare_data) without return types