Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Dave Foote
/
CAPP30254-1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
bce7d253
authored
Apr 16, 2019
by
Dave Foote
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pipeline and pygrabber shells
parent
1f1d026d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
hw2/pipeline.py
pygrabber.py
hw2/pipeline.py
0 → 100644
View file @
bce7d253
import
pandas
as
pd
#import tree as tp
cred_data
=
pd
.
read_csv
(
'credit-data.csv'
)
'''
Dave-
this is you from the past.
get all of the tree/pandas/record linkage files
from the last two classes and get them onto this computer so we can
use our old code
'''
pygrabber.py
0 → 100644
View file @
bce7d253
import
shutil
import
os
#source = path to directory
destination
=
'/Users/dave/machine_learning'
for
root
,
dirs
,
files
in
os
.
walk
(
source
):
for
file
in
files
:
if
file
.
endswith
(
'.py'
):
src
=
fullpath
(
source
,
file
)
shutil
.
move
(
src
,
fullpath
(
destination
,
file
))
if
__name__
==
"__main__"
:
main
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment