title: How to pass List as argument to dataclass? TypeError: __init__() missing required positional arguments
body: <p>I tried this</p>
  <pre><code>from dataclasses import dataclass
  import pandas as pd
  
  @dataclass
  class First:
      code_event: str
      code_event_system: str
      company_id: int
      date_event: str
      date_event_real: str
      ecode_class: str
  ......
  
  d = pd.read_json('my.json', lines=True)
  a = d.values.tolist()
  </code></pre>
  <p>Output of a</p>
  <pre><code>[['S1933190', 'STATIC', 3, '2020-05-26 16:30:00.000', '2020-05-26 16:30:00.000', 525065, 86393, '',......]]
  </code></pre>
  <p>At this moment, my idea is to put list as an argument.</p>
  <pre><code>p = First(a)
  </code></pre>
  <p>I got TypeError</p>
  <pre><code>TypeError: __init__() missing 30 required positional arguments: 'code_event_system', 'company_id',
  </code></pre>
  <p>From terminal</p>
  <pre><code>&gt;&gt;&gt; len(a)
  1
  &gt;&gt;&gt; len(a[0])
  30
  </code></pre>
  <p>How to solve this?</p>