pandas库的常用操作,参考书籍《Pandas Cookbook》,内容干货,推荐下载!movie get_dtype_counts# output the number of columns with each specific data type:
movie. select_dtypes(include['int ]).head(# select only integer columns
movie. filter(1ike=' facebook').head()#1ike参数表示包含此
MongoDB基本操作之Python篇
连接数据库 MongoClient VS Connection5.2查询特定键(£ ields)
select name, age from users where age=21
for u in db. users find((age: 21], ["name",age!): print u
for u in db. users find(fields =L"name",age ): printl
5.3排序(SORT)
pymmongo. ASCEND