Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

How to disable the index of series to matplotlib for plotting on the X-axis?

$
0
0

@sid100158 wrote:

I am currently plotting a series in Ipython notebook .For this I have created a Series and use plot function on the Series for plotting it,but by default the index of Series is available on the X-axis of plot .I want to know how to remove this.

s = Series(np.random.randn(10).cumsum(), index=np.arange(0, 100, 10))
    s.plot()

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles