code: def test_fill_value_scalar(taxonomy_df):
      """Test output if the fill_value is a scalar."""
      result = taxonomy_df.complete(
          "Year", "Taxon", fill_value=0, sort=False
      ).astype({"Abundance": int})
      expected = (
          taxonomy_df.encode_categorical(Taxon="appearance")
          .set_index(["Year", "Taxon"])
          .unstack(fill_value=0)
          .stack(dropna=False)
          .reset_index()
          .astype({"Taxon": "object"})
      )
  
      assert_frame_equal(result, expected)
  
imports: from string import ascii_lowercase
  import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from pandas.testing import assert_frame_equal
  from janitor.testing_utils.strategies import categoricaldf_strategy
label_desc: Use image node_id 29 for calling a global function with example usage: test_fill_value_scalar(taxonomy_df) without return types