Skip to content

Commit

Permalink
update iris example code for latest pandas convention
Browse files Browse the repository at this point in the history
  • Loading branch information
vc1492a committed Nov 6, 2024
1 parent 5d73be8 commit 6421172
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,7 @@ Now let's create two sets of Iris data for scoring; one with clustering and the

```python
# import the data and remove any non-numeric columns
iris = pd.DataFrame(data('iris'))
iris = pd.DataFrame(iris.drop('Species', 1))
iris = pd.DataFrame(data('iris').drop(columns=['Species']))
```

Next, let's cluster the data using DBSCAN and generate two sets of scores. On both cases, we will use the default
Expand Down

0 comments on commit 6421172

Please sign in to comment.