Script execution error

dbldeedbldee Cyberspace

I am working with a csv file which is in my TREES directory. The part that I think is a problem is..
<from pandas import Series, DataFrame
import pandas as pd
import numpy as np
import os
import matplotlib.pylab as plt
from sklearn.cross_validation import train_test_split
from sklearn.tree import DecisionTreeClassifier
from sklearn.metrics import classification_report
import sklearn.metrics

Data Engineering and Analysis

Load the dataset

AH_data = pd.read_csv("tree_addhealth.csv")>

However only errors are returned

runfile('C:/Users/dbldee/Downloads/', wdir='C:/Users/dbldee/Downloads')
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\dbldee\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\", line 714, in runfile
execfile(filename, namespace)
File "C:\Users\dbldee\Anaconda3\lib\site-packages\spyderlib\widgets\externalshell\", line 89, in execfile
exec(compile(, filename, 'exec'), namespace)
File "C:/Users/dbldee/Downloads/", line 72, in
File "C:\Users\dbldee\Anaconda3\lib\site-packages\pydotplus\", line 1797, in
lambda f=frmt, prog=self.prog: self.create(format=f, prog=prog)
File "C:\Users\dbldee\Anaconda3\lib\site-packages\pydotplus\", line 1960, in create
** 'GraphViz\'s executables not found')


****Can some sharp pythonista help a noobie?****


Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!