parameters: (a)
return_statement: return a
docstring: fix rank-0 --> rank-1
docstring_summary: fix rank-0 --> rank-1
docstring_tokens: fix rank - 0 -- > rank - 1
function: def _fr0(a):
      """fix rank-0 --> rank-1"""
      if a.ndim == 0:
          a = a.copy()
          a.shape = (1,)
      return a
function_tokens: def _fr0 ( a ) : if a . ndim == 0 : a = a . copy ( ) a . shape = ( 1 , ) return a