<div dir="ltr"><div>I am catching up to all the replies, apologies for the delay. (replied in reverse order)</div><div><br></div>@ Gaël,<div>Thanks for your comments. I actually started with 1) Data Camp courses and 2) Python for Data Science book.<br></div><div><br></div><div>Here's my review:</div><div>1) The course: it is fantastic! But they only give you a flavor of A FEW things.</div><div>2) The book: it is quick crash course, but not enough for you to take off. See code below.</div><div><br></div><div># Toy Python Code</div><div><div>import numpy as np</div><div>import pandas as pd</div><div><br></div><div>N = 100</div><div>df = pd.DataFrame({</div><div>    'A': pd.date_range(start='2016-01-01',periods=N,freq='D'),</div><div>    'x': np.linspace(0,stop=N-1,num=N),</div><div>    'y': np.random.rand(N),</div><div>    'C': np.random.choice(['Low','Medium','High'],N).tolist(),</div><div>    'D': np.random.normal(100, 10, size=(N)).tolist()</div><div>    })</div></div><div>df.x</div><div>len(dir(df))<br></div><div># end of Python code<br></div><div><br></div><div>My confusion: </div><div>a) df.x gives you column x, but why, I thought things after dot are actions, or more like verbs performed on the object, namely df, in this case.</div><div>b) len(dir(df)) gives 431. I only crated a dataframe, where did all these 431 things come from? Is there a documentation about this? It scares me because I only asked for a dataframe.</div><div><br></div><div>@ Gael</div><div>This is a pretty solid reference. It explains methods among other things, which is awesome! I think method is the barrier to entry for R users.</div><div><br></div><div>@ Mail </div><div>Thanks for the details, I will try to pick these computer science terminologies up. It has been a brutal week.</div><div><br></div><div>@Massimo</div><div>Yes, I have used that. It is indeed great for one to one equivalence reference.</div><div><br></div><div>Thanks!</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 20, 2017 at 12:32 AM, Gaël Pegliasco via scikit-learn <span dir="ltr"><<a href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    <div class="m_-3202966796920151065moz-cite-prefix">And, answering your last question, a
      good way to learn Data science using Python is, for I, "Python
      data science handbook" that you can read as Jupyter notebooks:<br>
      <br>
      <a class="m_-3202966796920151065moz-txt-link-freetext" href="https://github.com/jakevdp/PythonDataScienceHandbook" target="_blank">https://github.com/jakevdp/<wbr>PythonDataScienceHandbook</a><div><div class="h5"><br>
      <br>
      Le 20/06/2017 à 06:28, Gaël Pegliasco via scikit-learn a écrit :<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      
      <div class="m_-3202966796920151065moz-cite-prefix">Hi,<br>
        <br>
        You may find these R/Python comparison-sheets useful in
        understanding both languages syntaxes and concepts:<br>
        <br>
        <ul>
          <li><a class="m_-3202966796920151065moz-txt-link-freetext" href="https://www.datacamp.com/community/tutorials/r-or-python-for-data-analysis" target="_blank">https://www.datacamp.com/<wbr>community/tutorials/r-or-<wbr>python-for-data-analysis</a></li>
          <li><a class="m_-3202966796920151065moz-txt-link-freetext" href="http://pandas.pydata.org/pandas-docs/stable/comparison_with_r.html" target="_blank">http://pandas.pydata.org/<wbr>pandas-docs/stable/comparison_<wbr>with_r.html</a></li>
        </ul>
        <br>
        Gaël,<br>
        <br>
        Le 18/06/2017 à 18:02, C W a écrit :<br>
      </div>
      <blockquote type="cite">
        <div dir="ltr">Dear Scikit-learn,
          <div><br>
          </div>
          <div>What are some good ways and resources to learn Python for
            data analysis?</div>
          <div><br>
          </div>
          <div>
            <div>I am extremely frustrated using this thing. Everything
              comes after a dot! Why would you type the sam thing at the
              beginning of every line. It's not efficient.</div>
          </div>
          <div><br>
          </div>
          <div>code 1:</div>
          <div>y_sin = np.sin(x)</div>
          <div>y_cos = np.cos(x)</div>
          <div><br>
          </div>
          <div>I know you can import the entire package without the "as
            np", but I see np.something as the standard. Why?<br>
          </div>
          <div><br>
          </div>
          <div>
            <div>
              <div>Code 2:</div>
              <div>model = LogisticRegression()</div>
              <div>model.fit(X_train, y_train)</div>
            </div>
            <div>model.score(X_test, y_test)<br>
            </div>
          </div>
          <div><br>
          </div>
          <div>In R, everything is saved to a variable. In the code
            above, what if I accidentally ran model.fit(), I would not
            know.</div>
          <div><br>
          </div>
          <div>Code 3:</div>
          from sklearn import linear_model<br>
          reg = linear_model.Ridge (alpha = .5)<br>
          reg.fit ([[0, 0], [0, 0], [1, 1]], [0, .1, 1])
          <div><br>
          </div>
          <div>In the code above, sklearn > linear_model > Ridge,
            one lives inside the other, it feels that there are multiple
            layer, how deep do I have to dig in?</div>
          <div><br>
          </div>
          <div>Can someone explain the mentality behind this setup?</div>
          <div><br>
          </div>
          <div>Thank you very much!</div>
          <div><br>
          </div>
          <div>M</div>
        </div>
        <br>
        <fieldset class="m_-3202966796920151065mimeAttachmentHeader"></fieldset>
        <br>
        <pre>______________________________<wbr>_________________
scikit-learn mailing list
<a class="m_-3202966796920151065moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a>
<a class="m_-3202966796920151065moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a>
</pre>
      </blockquote>
      <p><br>
      </p>
      <div class="m_-3202966796920151065moz-signature">-- <br>
        <table style="border:none">
          <tbody>
            <tr>
              <td><a href="http://makina-corpus.com" target="_blank"><img alt="Makina Corpus" src="cid:part5.6E04FA3E.1E4583DA@makina-corpus.com" title="Site de Makina Corpus" width=""></a>
                <br>
                <span style="font-family:verdana,geneva;font-size:x-small"><span><a href="http://makina-corpus.com/formulaires/newsletters" target="_blank"><span>Newsletters</span></a></span>
                  | <span><a href="http://makina-corpus.com/formation" target="_blank"><span>Formations</span></a></span>
                  | <span><a href="https://twitter.com/makina_corpus" target="_blank"><span>Twitter</span></a></span>
                </span><br>
              </td>
              <td>
                <div> <span style="font-family:verdana,geneva;font-size:x-small">Gaël Pegliasco</span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">Chef de projets</span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">Tél : 02 51 79 80 84</span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">Portable : 06 41 69 16 09</span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">11 rue du Marchix FR-44000 Nantes</span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">-- </span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small"> <span><a href="https://twitter.com/GPegliasco" target="_blank"><span>@GPegliasco</span></a></span><br>
                    <span style="font-family:verdana,geneva;font-size:x-small">-- </span><br>
                    <span style="font-family:verdana,geneva;font-size:x-small">Découvrez <a href="http://makina-corpus.com/formation/etl-talend-open-studio" target="_blank">Talend Data Integration</a>,
                      LA solution d'intégration de données Open Source</span></span></div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="m_-3202966796920151065mimeAttachmentHeader"></fieldset>
      <br>
      <pre>______________________________<wbr>_________________
scikit-learn mailing list
<a class="m_-3202966796920151065moz-txt-link-abbreviated" href="mailto:scikit-learn@python.org" target="_blank">scikit-learn@python.org</a>
<a class="m_-3202966796920151065moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/scikit-learn" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a>
</pre>
    </blockquote>
    <p><br>
    </p>
    <div class="m_-3202966796920151065moz-signature">-- <br>
      <table style="border:none">
        <tbody>
          <tr>
            <td><a href="http://makina-corpus.com" target="_blank"><img alt="Makina
                  Corpus" src="cid:part12.4CC64BAB.3871DD95@makina-corpus.com" title="Site de Makina Corpus" width=""></a>
              <br>
              <span style="font-family:verdana,geneva;font-size:x-small"><span><a href="http://makina-corpus.com/formulaires/newsletters" target="_blank"><span>Newsletters</span></a></span>
                | <span><a href="http://makina-corpus.com/formation" target="_blank"><span>Formations</span></a></span>
                | <span><a href="https://twitter.com/makina_corpus" target="_blank"><span>Twitter</span></a></span>
              </span><br>
            </td>
            <td>
              <div>
                <span style="font-family:verdana,geneva;font-size:x-small">Gaël Pegliasco</span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">Chef de projets</span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">Tél : 02 51 79 80 84</span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">Portable : 06 41 69 16 09</span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">11 rue du Marchix FR-44000 Nantes</span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">-- </span><br>
                <span style="font-family:verdana,geneva;font-size:x-small">
                  <span><a href="https://twitter.com/GPegliasco" target="_blank"><span>@GPegliasco</span></a></span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">-- </span><br>
                  <span style="font-family:verdana,geneva;font-size:x-small">Découvrez <a href="http://makina-corpus.com/formation/etl-talend-open-studio" target="_blank">Talend
                      Data Integration</a>, LA solution d'intégration de
                    données Open Source</span></span></div>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div></div></div>

<br>______________________________<wbr>_________________<br>
scikit-learn mailing list<br>
<a href="mailto:scikit-learn@python.org">scikit-learn@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/scikit-learn" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/scikit-learn</a><br>
<br></blockquote></div><br></div>