Posts by Lucas Profiro • 16 points
3 posts
-
0
votes1
answer985
viewsA: How to create dataframe in pandas from series with dictionaries?
Using the example you gave me: lista = [{'nomeParte': 'ANDRE LUIZ DE ALMEIDA', 'orgao': 'TJRJ', 'numeroMandado': '450429-49.2010.8.19.0001.0002', 'dataMandado': '2011-04-25', 'situacao': 'Aguardando…
-
0
votes1
answer84
viewsA: Warning pandas, 2 loopings!
This problem is happening because of its attribution Candles['Twintower'][i]. Pandas don’t "like" much of this attribution. Try doing: candles[i, 'Twintower'] This article explains a little about…
-
0
votes1
answer40
viewsA: How do I guarantee unique numbers on a list of lists?
import random lista = random.sample(range(100),10) This command generates a list of 10 numbers ranging from 0 to 99. That way you can organize it the way you think best. If you want to organize in…