original_docstring: 
          This is a second way to initialize StructureFormat, using the raw data
          as input. Added to avoid changing the signature of __init__.
          
docstring: This is a second way to initialize StructureFormat, using the raw data
  as input. Added to avoid changing the signature of __init__.
docstring_tokens: This is a second way to initialize StructureFormat using the raw data as input . Added to avoid changing the signature of __init__ .
code: def from_data(cls, data, **options):
          """
          This is a second way to initialize StructureFormat, using the raw data
          as input. Added to avoid changing the signature of __init__.
          """
          format_functions = []
          for field_name in data.dtype.names:
              format_function = _get_format_function(data[field_name], **options)
              if data.dtype[field_name].shape != ():
                  format_function = SubArrayFormat(format_function)
              format_functions.append(format_function)
          return cls(format_functions)
code_tokens: def from_data ( cls , data , ** options ) : format_functions = [ ] for field_name in data . dtype . names : format_function = _get_format_function ( data [ field_name ] , ** options ) if data . dtype [ field_name ] . shape != ( ) : format_function = SubArrayFormat ( format_function ) format_functions . append ( format_function ) return cls ( format_functions )
short_docstring: This is a second way to initialize StructureFormat, using the raw data
  as input.
short_docstring_tokens: This is a second way to initialize StructureFormat using the raw data as input .
comment: """
          This is a second way to initialize StructureFormat, using the raw data
          as input. Added to avoid changing the signature of __init__.
          """