code: def write_partition(cls, df, path, fs, filename, **kwargs):
      table = pa.Table.from_pandas(df)
      with fs.open(fs.sep.join([path, filename]), "wb") as f:
          orc.write_table(table, f)
  
file_path: dask/dask/dataframe/io/orc/arrow.py
imports: from __future__ import annotations
  import pyarrow
  import pyarrow.orc
  from dask.dataframe.io.utils import _get_pyarrow_dtypes, _meta_from_dtypes
label_desc: Use image node_id 4 for calling the ArrowORCEngine obj's underlying member method code with example usage: obj.write_partition(cls, df, path, fs, filename) without return types