| | | |
Offset 364, 22 lines modified | Offset 364, 22 lines modified |
364 | <dt·id="patsy.DesignInfo.factor_infos"> | 364 | <dt·id="patsy.DesignInfo.factor_infos"> |
365 | <code·class="descname">factor_infos</code><a·class="headerlink"·href="#patsy.DesignInfo.factor_infos"·title="Permalink·to·this·definition">¶</a></dt> | 365 | <code·class="descname">factor_infos</code><a·class="headerlink"·href="#patsy.DesignInfo.factor_infos"·title="Permalink·to·this·definition">¶</a></dt> |
366 | <dd><p>A·dict·mapping·factor·objects·to·<a·class="reference·internal"·href="#patsy.FactorInfo"·title="patsy.FactorInfo"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">FactorInfo</span></code></a>·objects | 366 | <dd><p>A·dict·mapping·factor·objects·to·<a·class="reference·internal"·href="#patsy.FactorInfo"·title="patsy.FactorInfo"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">FactorInfo</span></code></a>·objects |
367 | providing·information·about·each·factor.·Like·<a·class="reference·internal"·href="#patsy.DesignInfo.terms"·title="patsy.DesignInfo.terms"><code·class="xref·py·py-attr·docutils·literal·notranslate"><span·class="pre">terms</span></code></a>, | 367 | providing·information·about·each·factor.·Like·<a·class="reference·internal"·href="#patsy.DesignInfo.terms"·title="patsy.DesignInfo.terms"><code·class="xref·py·py-attr·docutils·literal·notranslate"><span·class="pre">terms</span></code></a>, |
368 | this·may·be·None.</p> | 368 | this·may·be·None.</p> |
369 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[12]:·</span><span·class="n">di</span><span·class="o">.</span><span·class="n">factor_infos</span> | 369 | <div·class="highlight-ipython·notranslate"><div·class="highlight"><pre><span></span><span·class="gp">In·[12]:·</span><span·class="n">di</span><span·class="o">.</span><span·class="n">factor_infos</span> |
370 | <span·class="gh">Out[12]:·</span><span·class="go"></span> | 370 | <span·class="gh">Out[12]:·</span><span·class="go"></span> |
371 | <span·class="go">{EvalFactor('x'):·FactorInfo(factor=EvalFactor('x'),</span> | 371 | <span·class="go">{EvalFactor('a'):·FactorInfo(factor=EvalFactor('a'),</span> |
372 | <span·class="go">············type='numerical',</span> | |
373 | <span·class="go">············state=<factor·state>,</span> | |
374 | <span·class="go">············num_columns=1),</span> | |
375 | <span·class="go">·EvalFactor('a'):·FactorInfo(factor=EvalFactor('a'),</span> | |
376 | <span·class="go">············type='categorical',</span> | 372 | <span·class="go">············type='categorical',</span> |
377 | <span·class="go">············state=<factor·state>,</span> | 373 | <span·class="go">············state=<factor·state>,</span> |
378 | <span·class="go">············categories=('a1',·'a2',·'a3'))}</span> | 374 | <span·class="go">············categories=('a1',·'a2',·'a3')),</span> |
| 375 | <span·class="go">·EvalFactor('x'):·FactorInfo(factor=EvalFactor('x'),</span> |
| 376 | <span·class="go">············type='numerical',</span> |
| 377 | <span·class="go">············state=<factor·state>,</span> |
| 378 | <span·class="go">············num_columns=1)}</span> |
379 | </pre></div> | 379 | </pre></div> |
380 | </div> | 380 | </div> |
381 | </dd></dl> | 381 | </dd></dl> |
| |
382 | <dl·class="attribute"> | 382 | <dl·class="attribute"> |
383 | <dt·id="patsy.DesignInfo.term_codings"> | 383 | <dt·id="patsy.DesignInfo.term_codings"> |
384 | <code·class="descname">term_codings</code><a·class="headerlink"·href="#patsy.DesignInfo.term_codings"·title="Permalink·to·this·definition">¶</a></dt> | 384 | <code·class="descname">term_codings</code><a·class="headerlink"·href="#patsy.DesignInfo.term_codings"·title="Permalink·to·this·definition">¶</a></dt> |