jasminecjc / notes Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
增长黑客是将增长作为唯一目标的人,他做的所有事情都是围绕如何扩大增长而展开
增长黑客是市场营销人员和工程技术人员的混血儿,他们着眼于产品该如何获取用户等传统问题,并通过A/B测试,落地页,病毒营销,邮件营销等方式来解决
增长黑客,是一群以数据驱动营销,以市场指导产品,通过技术化手段贯彻增长目标的人,他们通常既了解技术,又深谙用户心理,擅长发挥创意,绕过限制,通过低成本的手段解决初创公司产品早期的增长问题
增长是下一代营销
日常运营模式
实际试验过程
如何让增长更有效
增长团队
mysqldump -uroot -p dbname > dbname.sql
mysql -h {hostname} -u {user} -p{pwd} dbname < dbname.sql
可能存在的问题,直接转出来的sql带了一堆DROP TABLE IF EXISTS,因为线上服务器的安全考虑,设置了权限,会提示 DROP command denied to user XXX,
另一种方式 本地Mysql数据库快速迁移到服务器
python操作数据库的方法
python连接数据库——create_engine和conn.cursor
id自增
Pandas (python): How to add column to dataframe for index?
代码
# -*- coding: utf-8 -*-
import sys
from sqlalchemy import create_engine
import pandas as pd
host = '127.0.0.1'
port = 3306
db = 'test'
user = 'root'
password = 'root'
engine = create_engine(str(r"mysql+mysqldb://%s:" + '%s' +
"@%s/%s?charset=utf8") % (user, password, host, db))
try:
df = pd.read_csv(r'test.csv', encoding='utf-8')
df['id'] = range(1, len(df) + 1)
print(df)
df.to_sql('test', con=engine, if_exists='append', index=False)
except Exception as e:
print(e.message)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.