class_docstr: Pandas ExtensionArray to represent ragged arrays
  
  Methods not otherwise documented here are inherited from ExtensionArray;
  please see the corresponding method on that class for the docstring
class_docstr_tok: ["Pandas","ExtensionArray","to","represent","ragged","arrays","Methods","not","otherwise","documented","here","are","inherited","from","ExtensionArray",";","please","see","the","corresponding","method","on","that","class","for","the","docstring"]
code: def fillna(self, value=None, method=None, limit=None):
      # Override in RaggedArray to handle ndarray fill values
      from pandas.util._validators import validate_fillna_kwargs
      from pandas.core.missing import get_fill_func
  
      value, method = validate_fillna_kwargs(value, method)
  
      mask = self.isna()
  
      if isinstance(value, RaggedArray):
          if len(value) != len(self):
              raise ValueError(
                  "Length of 'value' does not match. Got ({}) "
                  " expected {}".format(len(value), len(self))
              )
          value = value[mask]
  
      if mask.any():
          if method is not None:
              func = get_fill_func(method)
              new_values = func(
                  self.astype(object), limit=limit, mask=mask
              )
              new_values = self._from_sequence(
                  new_values, dtype=self.dtype
              )
          else:
              # fill with value
              new_values = list(self)
              (mask_indices,) = np.where(mask)
              for ind in mask_indices:
                  new_values[ind] = value
  
              new_values = self._from_sequence(
                  new_values, dtype=self.dtype
              )
      else:
          new_values = self.copy()
      return new_values
  
imports: from __future__ import annotations
  import re
  from functools import total_ordering
  from packaging.version import Version
  import numpy
  import pandas
  from numba import jit
  from pandas.api.extensions import ExtensionDtype, ExtensionArray, register_extension_dtype
  from numbers import Integral
  from pandas.api.types import pandas_dtype, is_extension_array_dtype
label_desc: Use image node_id 14 for calling the RaggedArray obj's underlying member method code with example usage: obj.fillna(value, method, limit) and returns: new_values