Skip to content

Conversation

@danielballan
Copy link
Contributor

closes #5571

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want that the output of the code is generated automatically, then you have to change .. code-block:: to .. ipython::, and leave out the >>> (the ipython_directive, see http://pandas.pydata.org/pandas-docs/stable/contributing.html#about-the-pandas-documentation).

Off course you can also use code-block, but then you need to paste the exact console input and output in there.

@jreback jreback added the Docs label Feb 22, 2014
@jreback jreback added this to the 0.14.0 milestone Feb 22, 2014
@danielballan
Copy link
Contributor Author

Revised. Thanks, @jorisvandenbossche .

@jreback
Copy link
Contributor

jreback commented Mar 2, 2014

can u add a reference to this section
in basics.rst where series is talked about as dict-like

thanks

@jreback
Copy link
Contributor

jreback commented Mar 4, 2014

@jorisvandenbossche looks fine to me

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be a string? ('b')

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I'll set up doc building on my local machine so I check these things. Sorry for putting you through so many iterations on this.

@danielballan
Copy link
Contributor Author

I haven't got sphinx working on pandas locally, so I haven't verified this. But the issues discussed above have been fixed.

@jorisvandenbossche
Copy link
Member

Looking good (and you can always see the result after a while on http://pandas-docs.github.io/pandas-docs-travis/ to check if everything is OK). Thanks!

jorisvandenbossche added a commit that referenced this pull request Mar 19, 2014
DOC: Add section on using in operator with Series, DataFrame
@jorisvandenbossche jorisvandenbossche merged commit 7e78d7c into pandas-dev:master Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should Series.__contains__ look at indexes or values?

3 participants