Created
December 3, 2019 09:04
-
-
Save cassioiks/bbbe872179afa03ee729c95826db1a41 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sapdi.artifact.artifact import Artifact | |
import pandas as pd | |
from io import StringIO | |
artifact = Artifact.get(artifact_id='107e749a-2539-446a-ae1f-80fb15091c7e') | |
file_handler = artifact.open_file(file_name="RunningTimes.csv") | |
with file_handler.get_reader() as f: | |
content = f.read() | |
same_content = file_handler.read() | |
import pandas as pd | |
from io import StringIO | |
s=str(same_content,'utf-8') | |
data = StringIO(s) | |
df=pd.read_csv(data, delimiter=";") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment