Python

In [1]: import os import numpy as np import pandas as pd In [2]: os.getcwd() #현재 디렉토리 확인 Out[2]: '/Users/limjongjun/Desktop/JayJay/Growth/Python/Class101_Pandas' In [25]: df3 = pd.read_csv('03_Delivery.csv', encoding= 'cp949') #한글 인코더 명칭 옵션 추가 df3 Out[25]: 결제수단 배송번호 배송시작일 배송완료일 상품구매금액 상품번호 수량 주문경로 주문일 0 무통장입금 D-20181227-0000648-00 2019-01-07 오전 8:56 2019-01-11 오전 5:32 71450 1077.0 1 PC쇼핑..
In [1]: import os import numpy as np import pandas as pd In [2]: os.getcwd() #현재 디렉토리 확인 Out[2]: '/Users/limjongjun/Desktop/JayJay/Growth/Python/Class101_Pandas' In [3]: df1 = pd.read_csv('01_Contract_Data.csv') df1 Out[3]: Index Member_ID Sales_Type Contract_Type Channel Datetime Term Payment_Type Product_Type Amount_Month Customer_Type Age Address1 Address2 State Overdue_count Overdue_Type Gen..
In [1]: import os import numpy as np import pandas as pd In [2]: os.getcwd() #현재 디렉토리 확인 Out[2]: '/Users/limjongjun/Desktop/JayJay/Growth/Python/Class101_Pandas' In [3]: df1 = pd.read_csv('01_Contract_Data.csv') df1 Out[3]: Index Member_ID Sales_Type Contract_Type Channel Datetime Term Payment_Type Product_Type Amount_Month Customer_Type Age Address1 Address2 State Overdue_count Overdue_Type Gen..
In [2]: import os import numpy as np import pandas as pd In [3]: os.getcwd() #현재 디렉토리 확인 Out[3]: '/Users/limjongjun/Desktop/JayJay/Growth/Python/Class101_Pandas' In [5]: df1 = pd.read_csv('01_Contract_Data.csv') In [17]: # 행단위 추출 df1.head() # 상위 N개(default = 5) 데이터 추출 Out[17]: Index Member_ID Sales_Type Contract_Type Channel Datetime Term Payment_Type Product_Type Amount_Month Customer_T..
Unlimited Jun
'Python' 카테고리의 글 목록 (11 Page)