일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
- GitHub
- Button
- install
- 삼성소프트웨어멤버십
- SciPy
- mean
- 알고리즘
- imread
- pycharm
- javascript
- Numpy
- DFS
- Series
- Lotto
- pandas
- pip
- GT-S80
- index
- SPL
- keras
- Python
- LSTM
- synology
- ipad
- Splunk
- RNN
- mariadb
- CNN
- dataframe
- E-P1
- Today
- Total
목록column (2)
잠토의 잠망경

groupby를 활용하여 matplot에 chart 그리기 GitHub https://github.com/yiwonjae/Project_Python_Lib/blob/master/PandasMy/PandasMyLibs.py ''' Groupby 된 DataFame을 chart로 구성 ''' def makeGroup_s003(df:DataFrame)->None: print(df.info()) grouped:DataFrameGroupBy = df.groupby(['file_name']) import matplotlib matplotlib.use('TkAgg') import matplotlib.pyplot as plt for name, group in grouped: group:DataFrame = group ..
한 열 단위 데이터 추출 Series : 1개 열 DataFrame : 2개 열 이상 열단위 Data 얻기 import pandas as pd df = pd.read_csv('input.csv',sep=',') column_df = df['country'] print(type(colum_df)) # Series print(column_df.head()) # 5줄 print(column_df.tail()) # 하위 5줄 2열 이상 데이터 추출 columns_df = df[['country', 'continent', 'year']] # List 전달 print(type(columns_df)) # DataFrame print..