This file contains hidden or 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
| import pandas as pd | |
| import warnings | |
| warnings.filterwarnings('ignore') | |
| df = pd.ExcelFile("UTF82024 국민환경의식 설문조사_원자료.xlsx", engine='openpyxl') | |
| src = df.parse('원자료') | |
| cb = df.parse('코드북') | |
| # 임농업 데이터만 | |
| data = src[src['F2'] == 1] |