Skip to content

Commit

Permalink
Move datasets and write simple loader
Browse files Browse the repository at this point in the history
  • Loading branch information
m-martin-j committed Sep 21, 2022
1 parent fed9938 commit fbb8dd4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fcbf/data/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

from .datasets import lung_cancer
8 changes: 8 additions & 0 deletions fcbf/data/datasets.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@

import pathlib

import pandas as pd


_lung_cancer_path = pathlib.Path(__file__).parent.joinpath('lung-cancer.data')
lung_cancer = pd.read_csv(_lung_cancer_path, header=None, na_values='?')
File renamed without changes.

0 comments on commit fbb8dd4

Please sign in to comment.