Posts by Nestor Wendt • 21 points
3 posts
-
1
votes1
answer306
viewsA: How to insert caption in a linear graph with 3 vectors on the Y-axis?
barter plt.plot(x,y,'ro-',x,z,'go-',x,w,'bo-') for plt.plot(x,y, 'ro-', label='y') plt.plot(x,z, 'go-', label='z') plt.plot(x,w, 'bo-', label='w')…
pythonanswered Nestor Wendt 21 -
0
votes3
answers347
viewsA: Import csv as float
Assuming that these str can be converted into float, you can use pd.to_numeric(): df = pd.DataFrame([['1.', '2.'], ['3.', '4.']]) df = df.apply(pd.to_numeric)…
-
1
votes1
answer39
viewsA: Questions about type Python3
You can, just put the type on the other side. media = 'exemplo' if type(media) == str: print('oi') else: print('tchau')
python-3.xanswered Nestor Wendt 21