Scikit Learn Machine Learning Tutorial for investing with Python p. 12

In this machine learning with sklearn and Python tutorial video, we cover how to grab more data features from our data set for us to do learning on.

sample code and the lists:

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6

10 comments

  1. Juju says:

    Great video, great channel! 🙂
    Yet I believe your regex does not take into account minus signs, comas and
    Ks… Companies can lose money sometimes…
    I am no regex expert but here is how I would have done it
    : r’.*?(-?d{1,8}?,?d{1,8}.d{1,8}M?B?K?|N/A)%?’
    Can you confirm? :)

  2. Beyhan Gül says:

    ‘NoneType’ object has no attribute ‘group’
    for–//// value = re.search(regex, source)
    value = (value.group(1))

  3. riley h says:

    I’m getting an empty csv file. I then copied and pasted your source code
    and still keep getting and empty csv file.

  4. Shantanu Srivastava says:

    +sentdex, I am getting a file with all the labels but with no values in any
    of its column on running your code. Is that a problem of Python version or
    is it something else? Please help.

Comments are closed.