Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to load external data #136

Open
weidongzhou1994 opened this issue Aug 10, 2020 · 1 comment
Open

how to load external data #136

weidongzhou1994 opened this issue Aug 10, 2020 · 1 comment

Comments

@weidongzhou1994
Copy link

as title
image

@tapattan
Copy link

tapattan commented Sep 20, 2020

step1. Edit file "init.py" and modify path.

for Example (workspace-yourself)
from "/home/user" ->
if os.path.isdir("/home/userdata/workspace-7bd67aaa-594f-4ada-b6e7-4f35d654c154"):
os.chdir("/home/userdata/workspace-7bd67aaa-594f-4ada-b6e7-4f35d654c154")

step2.
and copy your "file.csv" into "sheetdata" then

step3.
import pandas as pd
path = "sheetdata/"
file = "predator_dataset.csv"
df = pd.read_csv(path+file,header=None)
sheet("A1",df)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants