在使用spyder时有可能要查询某个函数、或者某个模块的具体用法
1、要查看模块的作用说明、简介,可以直接在交互区直接输入
print( 模块名.__doc__)
例如:要查看pandas的介绍

In [1]:print(pd.__doc__)pandas - a powerful data analysis and manipulation library for Python
=====================================================================**pandas** is a Python package providing fast, flexible, and expressive data
structures designed to make working with "relational" or "labeled" data both
easy and intuitive. It aims to be the fundamental high-level building block for
doing practical, **real world** data analysis in Python. Additionally, it has
the broader goal of becoming **the most powerful and flexible open source data
analysis / manipulation tool available in any language**. It is already well on
its way toward this goal.Main Features
-------------
Here are just a few of the things that pandas does well:- Easy handling of missing data in floating point as well as non-floatingpoint data- Size mutability: columns can be inserted and deleted from DataFrame andhigher dimensional objects- Automatic and explicit data alignment: objects can  be explicitly alignedto a set of labels, or the user can simply ignore the labels and let`Series`, `DataFrame`, etc. automatically align the data for you incomputations- Powerful, flexible group by functionality to perform split-apply-combineoperations on data sets, for both aggregating and transforming data- Make it easy to convert ragged, differently-indexed data in other Pythonand NumPy data structures into DataFrame objects- Intelligent label-based slicing, fancy indexing, and subsetting of largedata sets- Intuitive merging and joining data sets- Flexible reshaping and pivoting of data sets- Hierarchical labeling of axes (possible to have multiple labels per tick)- Robust IO tools for loading data from flat files (CSV and delimited),Excel files, databases, and saving/loading data from the ultrafast HDF5format- Time series-specific functionality: date range generation and frequencyconversion, moving window statistics, moving window linear regressions,date shifting and lagging, etc.

2、想指导某个函数的用法可以使用
help(函数名)

例如要查询pandas 的fillna的使用方法

In [2] :help(x.fillna)
Help on method fillna in module pandas.core.frame:fillna(value=None, method=None, axis=None, inplace=False, limit=None, downcast=None, **kwargs) method of pandas.core.frame.DataFrame instanceFill NA/NaN values using the specified methodParameters----------value : scalar, dict, Series, or DataFrameValue to use to fill holes (e.g. 0), alternately adict/Series/DataFrame of values specifying which value to use foreach index (for a Series) or column (for a DataFrame). (values notin the dict/Series/DataFrame will not be filled). This value cannotbe a list.method : {'backfill', 'bfill', 'pad', 'ffill', None}, default NoneMethod to use for filling holes in reindexed Seriespad / ffill: propagate last valid observation forward to next validbackfill / bfill: use NEXT valid observation to fill gapaxis : {0 or 'index', 1 or 'columns'}inplace : boolean, default FalseIf True, fill in place. Note: this will modify anyother views on this object, (e.g. a no-copy slice for a column in aDataFrame).limit : int, default NoneIf method is specified, this is the maximum number of consecutiveNaN values to forward/backward fill. In other words, if there isa gap with more than this number of consecutive NaNs, it will onlybe partially filled. If method is not specified, this is themaximum number of entries along the entire axis where NaNs will befilled. Must be greater than 0 if not None.downcast : dict, default is Nonea dict of item->dtype of what to downcast if possible,or the string 'infer' which will try to downcast to an appropriateequal type (e.g. float64 to int64 if possible)See Also--------reindex, asfreqReturns-------filled : DataFrame

使用help命令进行查找就不用在去网上寻找介绍了,而且结果一目了然

使用spyder查询帮助文档相关推荐

  1. Whois查询接口文档

    Whois查询接口文档 whois(读作"Who is",非缩写)是用来查询域名的IP以及所有者等信息的传输协议.简单说,whois就是一个用来查询域名是否已经被注册,以及注册域名 ...

  2. es内嵌文档查询_ElasticSearch 文档的增删改查都不会?

    本文主要是介绍 ElasticSearch 的文档增删改查和批量操作,同时会介绍一些 REST API 返回状态码的具体含义. 我们先来看下这个表: 这个表包含了 Index.Create.Read. ...

  3. XML编程总结(七)——使用XPath对象查询xml文档

    (七)使用XPath对象查询xml文档 XPath,一种为查询 XML 文档而设计的查询语言.XPath 并不是 Java 语言,事实上 XPath 不是一种完整的编程语言.有很多东西用 XPath ...

  4. 搜索引擎的检索模型-查询与文档的相关度计算

    1. 检索模型概述 搜索结果排序时搜索引擎最核心的部分,很大程度度上决定了搜索引擎的质量好坏及用户满意度.实际搜索结果排序的因子有很多,但最主要的两个因素是用户查询和网页内容的相关度,以及网页链接情况 ...

  5. 一个基于特征向量的近似网页去重算法——term用SVM人工提取训练,基于term的特征向量,倒排索引查询相似文档,同时利用cos计算相似度

    一个基于特征向量的近似网页去重算法--term用SVM人工提取训练,基于term的特征向量,倒排索引查询相似文档,同时利用cos计算相似度 摘  要  在搜索引擎的检索结果页面中,用户经常会得到内容相 ...

  6. 一个基于特征向量的近似网页去重算法——term用SVM人工提取训练,基于term的特征向量,倒排索引查询相似文档,同时利用cos计算相似度...

    摘  要  在搜索引擎的检索结果页面中,用户经常会得到内容相似的重复页面,它们中大多是由于网站之间转载造成的.为提高检索效率和用户满意度,提出一种基于特征向量的大规模中文近似网页检测算法DDW(Det ...

  7. 查询pytorch文档的实用方法

    查阅文档 对于pytorch,一些函数可能不是很熟悉,这里给出查阅函数文档的方法 查找模块中的所有函数和类 为了知道模块中可以调用哪些函数和类,我们调用dir函数.例如,我们可以(查询随机数生成模块中 ...

  8. 全国车辆违章查询API文档及demo

    简介 聚合数据全国车辆违章API,目前已经支持300个左右的城市违章查询,已连接上万个APP.方便有车一族随时了解自己是否有过交通违章,避免因遗忘或逾期处理违章罚单而造成的不必要损失. API参考文档 ...

  9. ES 04 - Elasticsearch查询索引文档的6种方法

    博客转载方面自己查看 目录 1 Query String Search(查询串检索) 2 Query DSL(ES特定语法检索) 3 Query Filter(过滤检索) 4 Full Text Se ...

最新文章

  1. MATLAB_7-彩色图像【长长的笔记!】车牌放在文章末尾有链接
  2. springMvc的执行流程(源码分析)
  3. js 拉勾网效果_Node.js 中实践基于 Redis 的分布式锁实现
  4. mysql数据导出权限问题
  5. 【opencv】7. cv::VideoWriter的使用,把图片写进video
  6. PLSQL Developer连接oracle数据库安装及配置
  7. 国外的幼儿数学竟然这样出题?来测测你的孩子都会做吗?
  8. 【译】10个有趣的JSCSS库(2018.10)
  9. 小程序的支付Demo和登录Demo
  10. echart高级使用_Vue:在Vue中使用echarts
  11. 目标服务器已挂起重新启动_CentOS 7 Apache 服务器证书安装
  12. Mad Libs 游戏
  13. 错误排查:Cloudera Manager Agent 的 Parcel 目录位于可用空间小于 10.0 吉字节 的文件系统上。 /opt/cloudera/parcels...
  14. Android 小红点 未读消息功能 BadgeHelper
  15. 测试时间不够,项目要如期发布如何保证测试质量
  16. __I、 __O 、__IO是什么意思?怎么用?
  17. 【渝粤教育】国家开放大学2019年春季 1292企业集团财务管理 参考试题
  18. 买菜App综合服务水平排行:盒马、多点、每日优鲜排前三
  19. 生物仿生细胞膜包裹药物|人源肝癌细胞HepG2细胞膜|普鲁士蓝纳米介晶细胞膜|纳米红细胞膜负载丹参酮IIA磺酸钠
  20. 基于FPGA的啸叫检测与抑制系统设计与实现verilog

热门文章

  1. 基于Transformers库的BERT模型:一个文本情感分类的实例解析
  2. 如何修改Oracle VM virtualbox虚拟机的屏幕大小
  3. 一文看尽CES Asia:大变革下的汽车与全面AI化的智能家居
  4. Android创建子线程和回调主线程的几种方式
  5. 2021-05-24 昨日三省吾身
  6. 高等数学笔记-乐经良老师-第五章-积分(Ⅱ)-定积分的应用-第六节-定积分的应用
  7. vijos P1263 单挑女飞贼
  8. java-net-php-python-4java个人博客系统计算机毕业设计程序
  9. HTML:桂林山水风景Web界面设计
  10. Nature综述:农业生态系统中的土壤结构和微生物组功能