Git Product home page Git Product logo

thinkstats's People

Watchers

 avatar

thinkstats's Issues

Links have strange formatting, like this "❤tt♣✿✴✴❤♣✷✵✶✵"

What steps will reproduce the problem?
1. open pdf
2. highlight a link in the text
3. copy it. You know how strange symbols in your clipboard

What is the expected output? What do you see instead?
UTF-8 formatted

What version of the product are you using? On what operating system?
chrome pdf, english language setting

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 10 Oct 2012 at 8:43

Remove sort side effect in thinkstats.Trim

in the thinkstats.py module, the Trim function creates a (documented) side 
effect of sorting the sequence that is passed in as a parameter.  Instead of 
using the sort() method on the list, use the sorted builtin to sort the values 
into another array.

Existing code --

def Trim(t, p=0.01):
    t.sort()
    n = int(p * len(t))
    t = t[n:-n]
    return t

Proposed code --

def Trim(t, p=0.01):
    sorted_t = sorted(t)
    n = int(p * len(sorted_t))
    return sorted_t[n:-n]

Of course, the comments and documentation would have to be updated as well.

Original issue reported on code.google.com by [email protected] on 7 Sep 2012 at 2:47

Broken link in the book

The book refers to thinkstats.com site. This site isn't accessible from my 
computer, neither it is indexed in Google, since search for 
"site:thinkstats.com" returns 0 results


Original issue reported on code.google.com by [email protected] on 23 Mar 2011 at 2:12

thinkbayes DocBook: one display equation has spurious commas

On page 111 the first formula contains spurious commas that are not (as far as 
I can see) in the mathml.


  <para><informalequation><mml:math overflow="scroll" xmlns:mml="http://www.w3.org/1998/Math/MathML"><mml:mrow><mml:mo>-</mml:mo><mml:mi>n</mml:mi><mml:mo>log</mml:mo><mml:mi>σ</mml:mi><mml:mo>-</mml:mo><mml:mfrac><mml:mn>1</mml:mn><mml:mrow><mml:mn>2</mml:mn><mml:msup><mml:mi>σ</mml:mi><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:mfrac><mml:munder><mml:mo>∑</mml:mo><mml:mi>i</mml:mi></mml:munder><mml:msup><mml:mfenced><mml:msub><mml:mi>x</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>-</mml:mo><mml:mi>μ</mml:mi></mml:mfenced><mml:mn>2</mml:mn></mml:msup></mml:mrow></mml:math></informalequation></para>


Ah, now I see the problem.  mfenced generates separators between elements.  
Three possible solutions:

1) Get tralics to generate something other than mfenced

2) Get tralics to generate mfenced with no separators

3) Get the mathml renderer in Atlas to render mfenced with no separators

Original issue reported on code.google.com by [email protected] on 27 Jun 2013 at 3:30

thinkbayes DocBook: <bar> tag has no effect

The <bar> tag seems to have no effect.  Here's the DocBook:

<mathit id="a0000007188">
<bar id="a0000001871">
    <plastex:arg name="self">H</plastex:arg>
</bar></mathit>

The result is just an H with no bar.

Should I be generating different DocBook, or does this have to be mathML? 

Original issue reported on code.google.com by [email protected] on 1 Jul 2013 at 4:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.