반응형
250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- or some instances in your deployment group are experiencing problems.
- SQL
- Airflow
- codedeploy error
- codebuild
- docker
- PostgreSQL
- Jenkins
- Kafka
- 도커
- node
- kubeflow
- java bigdecimal
- IntelliJ
- bootstrap
- aws cicd
- codedeploy
- AWS CI/CD 구축하기
- Flux
- Spring
- chartjs
- Spring Error
- JavaScript
- Python
- aws
- COALESCE
- redis
- codepipeline
- chart.js
- VPN
Archives
- Today
- Total
목록save dataframe to postgresql (1)
Small Asteroid Blog
파이썬에서 dataframe to postgresql 저장하기
import sqlalchemy from sqlalchemy import create_engine engine = sqlalchemy.create_engine("postgresql://user:password@host:port/database") df_tp.to_sql(name = 'tablename', con = engine, schema = 'public', if_exists = 'replace', # {'fail', 'replace', 'append'), default 'fail' index = True, index_label = 'id', chunksize = 2, dtype = { 'id': sqlalchemy.types.INTEGER(), 'dominant': sqlalchemy.INTEGER..
백엔드/Python
2021. 11. 21. 15:56