.. _basicexamplerst: ==================== Exemple de notebooks ==================== .. only:: html **Links:** :download:`notebook `, :downloadlink:`html `, :download:`PDF `, :download:`python `, :downloadlink:`slides `, :githublink:`GitHub|_doc/notebooks/exemples/basic_example.ipynb|*` Exemple très simple permettant de créer un dataframe. .. code:: ipython3 import numpy from pandas import DataFrame .. code:: ipython3 df = DataFrame ( [ dict(x=1.0, y=1.0), dict(x=1.5, y=2)] ) .. code:: ipython3 df .. raw:: html
x y
0 1.0 1
1 1.5 2