teaching:progappchim:pandas

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
Prochaine révisionLes deux révisions suivantes
teaching:progappchim:pandas [2022/03/08 15:15] villersdteaching:progappchim:pandas [2022/03/24 08:47] villersd
Ligne 52: Ligne 52:
  
 Extensions : Extensions :
-  * Tester et utiliser en mode "Jupyter"+  * Tester et utiliser en mode [[jupyter|"Jupyter"]] 
 +    * si vous n'y arrivez pas, vous pouvez utiliser ce fichier : {{:teaching:progappchim:body_dimensions_01.ipynb}}
   * créer des régressions   * créer des régressions
   * autres représentations   * autres représentations
Ligne 174: Ligne 175:
 plt.show() plt.show()
 </code> </code>
 +
 +=== Suggestions pour ajouter une régression linéaire ===
 +FIXME
 +  * librairie scipy, fonction stats.linregress
 +
 +Codes (à combiner...)
 +
 +<code python>
 +import pandas as pd
 +from scipy import stats
 +</code>
 +
 +Références :
 +  * [[https://www.delftstack.com/api/scipy/scipy-scipy.stats.linregress-method/|SciPy scipy.stats.linregress Method]]
 +  * [[https://medium.com/analytics-vidhya/linear-regression-in-python-from-scratch-with-scipy-statsmodels-sklearn-da8e373cc89b|Linear Regression in python from scratch with scipy, statsmodels, sklearn]]
 +  * [[https://towardsdatascience.com/adding-regression-lines-to-pandas-plots-with-scipy-2e23fd524adb|Adding Regression Lines to Pandas Plots with SciPy]] (yc Jupyter notebook sur GitHub)
 +  * cf. [[matplotlib_simple]]
  
 ===== Interface utilisateur graphique ===== ===== Interface utilisateur graphique =====
Ligne 218: Ligne 236:
   * [[https://python.plainenglish.io/add-some-style-to-your-pandas-dataframe-ae3ed4ac7804|Add Some Style to your Pandas DataFrame - Putting Some Pizzaz into your Data]] Curt Beck; Medium, Oct 11, 2020   * [[https://python.plainenglish.io/add-some-style-to-your-pandas-dataframe-ae3ed4ac7804|Add Some Style to your Pandas DataFrame - Putting Some Pizzaz into your Data]] Curt Beck; Medium, Oct 11, 2020
   * [[https://towardsdatascience.com/spreadsheets-to-python-its-time-to-make-the-switch-ef49cf9463d5|Spreadsheets to Python: it's time]]  Clive Siviour, Towards Data Science, Medium 03/09/2021   * [[https://towardsdatascience.com/spreadsheets-to-python-its-time-to-make-the-switch-ef49cf9463d5|Spreadsheets to Python: it's time]]  Clive Siviour, Towards Data Science, Medium 03/09/2021
 +  * [[https://towardsdatascience.com/efficiently-iterating-over-rows-in-a-pandas-dataframe-7dd5f9992c01|Efficiently iterating over rows in a Pandas DataFrame - Never use iterrows and itertuples again]] Maxime Labonne, Towards Data Science (Medium), 21/03/2022
  
  
  • teaching/progappchim/pandas.txt
  • Dernière modification : 2022/11/15 10:08
  • de villersd