6

How to cite NumPy in BibTex?

The Scipy citing page recommends:

Travis E, Oliphant. A guide to NumPy, USA: Trelgol Publishing, (2006).

Is it correct to use:

@Misc{numpy,
  author =    {Travis Oliphant},
  title =     {{NumPy}: A guide to {NumPy}},
  year =      {2006--},
  howpublished = {USA: Trelgol Publishing},
  url = "http://www.numpy.org/",
  note = {[Online; accessed <today>]}
 }

Or should I cite just SciPy?

Research Gate

On Research Gate, the citation suggested is:

@book{book,
author = {Oliphant, Travis},
year = {2006},
month = {01},
pages = {},
title = {Guide to NumPy}
}

Or cite as a book?

7
  • Why is there a publisher if it is an online resource? Commented Nov 28, 2018 at 13:40
  • Also, there is a spurious "Numpy" in the title, and the capitalization is inconsistent. Commented Nov 28, 2018 at 13:42
  • 1
    As a formatting suggestion, rather than misc, maybe use manual? Commented Nov 28, 2018 at 15:22
  • @RichardErickson Could you give an example as an answer? And A guide to NumPy is a Book, maybe cite as a book? or manual? Commented Nov 28, 2018 at 15:27
  • 1
    @danieltakeshi, You have the fields correct. A books or manual may be formatted differently than misc. It depends upon your style file and where you are trying to publish. That venue's specific requirements may prefer one method over another. Commented Nov 28, 2018 at 16:17

3 Answers 3

9

Looks right to me. That's how they ask to be cited, and it seems reasonable. Indeed, this discussion also agrees that citing the user manual is the right choice.

1
  • 6
    Note that this answer refers to the first option ($Misc{...) as correct. The second option was added to the question after this answer was posted.
    – AstroFloyd
    Commented Jan 26, 2019 at 16:20
5

As to 2020, Numpy now has a Nature paper https://numpy.org/citing-numpy/

@Article{         harris2020array,
 title         = {Array programming with {NumPy}},
 author        = {Charles R. Harris and K. Jarrod Millman and St{'{e}}fan J.
                 van der Walt and Ralf Gommers and Pauli Virtanen and David
                 Cournapeau and Eric Wieser and Julian Taylor and Sebastian
                 Berg and Nathaniel J. Smith and Robert Kern and Matti Picus
                 and Stephan Hoyer and Marten H. van Kerkwijk and Matthew
                 Brett and Allan Haldane and Jaime Fern{'{a}}ndez del
                 R{'{\i}}o and Mark Wiebe and Pearu Peterson and Pierre
                 G{'{e}}rard-Marchant and Kevin Sheppard and Tyler Reddy and
                 Warren Weckesser and Hameer Abbasi and Christoph Gohlke and
                 Travis E. Oliphant},
 year          = {2020},
 month         = sep,
 journal       = {Nature},
 volume        = {585},
 number        = {7825},
 pages         = {357--362},
 doi           = {10.1038/s41586-020-2649-2},
 publisher     = {Springer Science and Business Media {LLC}},
 url           = {https://doi.org/10.1038/s41586-020-2649-2}
}

And if you use the new biblatex-software package, you can replace @Article by @Software

1
  • 2
    +1 from me. The biblatex-software's @Software field is probably the way to go. You can include the actual versions or module, as well as the license.Highly recommended!
    – Clément
    Commented Oct 29, 2020 at 16:56
4

The proposed citation seems correct. I found the same at http://www.citebay.com/how-to-cite/numpy/.

@book{oliphant2006guide, 
  title={A guide to NumPy}, 
  author={Oliphant, Travis E}, 
  volume={1}, 
  year={2006}, 
  publisher={Trelgol Publishing USA} 
}
1
  • Answer edited. Thank you for feedback.
    – J.V.
    Commented Jun 17, 2019 at 16:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .