Mar-01-2022, 04:30 PM
Quote:I tried this:
ax.plot(btstats['Date'::7], btstats['Cum.PnL'])The result is: TypeError: cannot do slice indexing on Int64Index with these indexers [Cum.PnL] of type str
I said it works on a vector of labels, not a single string.
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.