2016-06-02 6 views

답변

1

다음을 시도해 볼 수 있습니까?

import pandas as pd 

# Path to the object in Google Cloud Storage that you want to copy 
sample_gcs_object = 'gs://path-to-gcs/Hello.txt.zip' 

# Copy the file from Google Cloud Storage to Datalab 
!gsutil cp $sample_gcs_object 'Hello.txt.zip' 

# Unzip the file 
!unzip 'Hello.txt.zip' 

# Read the file into a pandas DataFrame 
pandas_dataframe = pd.read_csv('Hello.txt') 
+1

이것은 저에게 효과적입니다. 감사 –

관련 문제