Recherche
Voici les résultats de votre recherche.
Pages trouvées :
Résultats plein texte:
- notions_fondamentales
- on, par exemple : a, b = 4, 8.33 * **Opérateurs arithmétiques** : "+", "-", "*", "/", "/ /" "* *", "... , 2020 * [[https://medium.com/techtofreedom/the-art-of-writing-loops-in-python-68e9869e4ed4|The Art of Writing Loops in Python - Simple is better than c... /05/2021 * [[https://towardsdatascience.com/the-art-of-speeding-up-python-loop-4970715717c|The Art o
- numpy_simple
- ez ceci : <code python> import numpy as np a = np.array([[1,2],[3,4]]) print(a) print(a.dtype) </code>... finir un tableau, appelez simplement la fonction .array avec une liste ou un tuple. Des fonctions spéc... iculières (0 ou 1), ou aléatoires. Les fonctions arange et shape sont bien pratiques pour générer des... te ancienne documentation]]. </note> <code python arrays_01.py> #! /usr/bin/env python # -*- coding: u
- dictionaries_adn_arn_protein
- ====== Traduction ADN-ARN-protéine ====== Avec l'interface Tk. Voir aussi le programme [[dictionary_a... e Python) <sxh python; title : dictionaries_adn_arn_protein.py> #!/usr/bin/env python # -*- coding: utf-8 -*- """ Traduction de codes ADN en ARN et protéine. Basé sur le travail de NR et CVDD, ... leur renvoyée par la fonction def traduction_en_ARNm(): gencode2 = { 'ATA':'UAU', 'ATC':'UAG
- progappchim
- on appliquée à la chimie ====== <note warning> L'article suivant analyse les contributions à cpython,... Jupyter en Jupyter}} (fichier compressé dans une archive zip) * cette [[https://notebooks.azure.com... irie Biopython]] (manipulations de séquences ADN, ARN, protéines,...) * [[openbabel_jmol|OpenBabel e... rsion, avec l'interface Tk * [[dictionaries_adn_arn_protein|Traduction ADN-ARN-protéine]], avec l'in
- factorielle-3
- ikipedia.org/wiki/Factorielle """ def factorielle(arg_n): """ structure de répétition pour app... # on va commencer par 1 while i <= arg_n: # répétition "while" avec une conditi... tart) 1, et comme dernière valeur exclue (stop) l'argument de la factorielle augmenté de 1. Voici cett... de la fonction : <code python> def factorielle2(arg_n): """ structure de répétition pour app
- matplotlib_simple
- e1 = exp(-t) return s1*e1 tvals = arange(0., 5., 0.05) # arange (importé) permet de définir un tableau numérique # arange([start], stop[, step]) renvoie un "array" de valeurs # espacées de step à partir de start jusque
- presentation_principes
- veaux (appel d’une variable en mémoire, opération arithmétique entre 2 opérandes,...) * Fortran, Cob... formats de données standards) * compression, archivage, gestion de bases de données * fonctio... à d’autres fonctions * Dépendent de variables (arguments, paramètres) * Appelables autant de fois que souhaité, avec des arguments quelconques * Renvoient (ou non) un résu
- pka_pkb_plane @teaching:progappchim:matplotlib_gallery
- tcoords='offset points', fontsize=16, arrowprops=dict(arrowstyle="->", connectionstyle="arc3,rad=.2")) plt.scatter([-3, ],[17, ], 50, color='red') plt.annota... coords='offset points', fontsize=13, arrowprops=dict(arrowstyle="->", connectionstyle="ar
- plot_sinus_cosinus
- s]] * [[http://matplotlib.sourceforge.net/api/artist_api.html#matplotlib.lines.Line2D|Line API]] ... ] * [[http://matplotlib.sourceforge.net/users/artists.html#axis-container|Tick container]] * [... ] * [[http://matplotlib.sourceforge.net/users/artists.html#axis-container|Axis container]] * [... ées du graphique. Ces lignes peuvent être placées arbitrairement et jusqu'à présent elles délimitaient
- tableau_periodique_2011
- Message(legend1, text="Autres", width=300, font="Arial 15", bg="white") #font = taille et police ... d1, text="Metaux de transition", width=300, font="Arial 15", bg="#FFCCCC") metauxtransition.pack()... ssage(legend1, text="Gaz rares", width=300, font="Arial 15", bg="#00CCFF") gazrare.pack() nonm... sage(legend1, text="Non metaux", width=300, font="Arial 15", bg="#00FF66") nonmetaux.pack() me
- tkinter_gui_simple
- utf-8 -*- from tkinter import * def factorielle(argu): # calcul de la factorielle de argu a = 1 # a contient une valeur qui va être incrémentée... # contient la factorielle de a-1 while a <= argu: # on arrêtera lorsque a sera > argu b = b * a a = a + 1 return b def action(
- epidemie_coronavirus
- coronavirus 2019]] * [[https://gisanddata.maps.arcgis.com/apps/opsdashboard/index.html#/bda7594740f... e 2, programme 2.6]] * [[https://www.nature.com/articles/s41421-020-0148-0|Phase-adjusted estimation... * natalité et mortalité de base négligée dans l'article utilisé * valeurs initiales (par exemple) ... ality Rate - Towards Data Science]] * [[https://art-bd.shinyapps.io/nCov_control/|Reporting, epidemi
- potentiel_morse @teaching:progappchim:matplotlib_gallery
- points', fontsize=16, color="green", arrowprops=dict(arrowstyle="simple", connectionstyle="arc3,rad=.2",color="green")) xy_annotm = (xmax*0.95,V(xmax*0.95)) ... t points', fontsize=16, color="blue", arrowprops=dict(arrowstyle="simple", connectionstyle
- fit_modele_einstein
- 22.7]] # transformation en tableau numpy data=np.array(zip(*liste_data)) # cf. http://docs.python.org... mètre recherché (TE) plsq = leastsq(residuals, p, args=(data[0], data[1])) # fit par moindre carré # ... 740f3cd9c3dff2da0d78b6bc7 #solution : if 'array' in str(type(Tr)): return 9.*NA*kB*(Tr)**3 *np.array([integrate.quad(f,0,1./each_Tr)[0] for each_Tr
- pandas
- s avec NumPy, c'est que les tableaux NumPy (NumPy arrays) ont le même type (dtype) pour le tableau ent... r en mode [[jupyter|"Jupyter"]] * si vous n'y arrivez pas, vous pouvez utiliser ce fichier : {{:te... ans certains cas (x1900 plutôt que x1500 dans cet article par rapport à la plus mauvaise solution). ... https://towardsdatascience.com/pandas-df-to-numpy-array-c1a9e7d8585f|How To Convert Pandas DataFrame I