teadocs / pandas-cn Goto Github PK
View Code? Open in Web Editor NEWPandas中文文档,欢迎贡献!
Home Page: https://www.pypandas.cn/
Pandas中文文档,欢迎贡献!
Home Page: https://www.pypandas.cn/
如题
用 [ ] 切片行:
In [24]: df[0:3]
Out[24]:
A B C D
2013-01-01 0.469112 -0.282863 -1.509059 -1.135632
2013-01-02 1.212112 -0.173215 0.119209 -1.044236
2013-01-03 -0.861849 -2.104569 -0.494929 1.071804
In [25]: df['20130102':'20130104']
Out[25]:
A B C D
2013-01-02 1.212112 -0.173215 0.119209 -1.044236
2013-01-03 -0.861849 -2.104569 -0.494929 1.071804
2013-01-04 0.721555 -0.706771 -1.039575 0.271860
[]
应该是切片列吧,我试了好久说key错误,找了别的文档才发现方括号是切片列,loc
才是切片行的。。
working on updating and bug fixing from 0.24.2 to 0.25.0
Why is there no repeat method in DataFrame, just like np.repeat()
所以,翻译了标题,就叫中文版
预期0831结束
/docs/getting_started/dsintro.html 占坑。
pandas-cn/docs/docs/user_guide/style.md 占坑,月内完成。
预计最晚8/31完成
working on translation migration from 0.24.2 to 0.25.0
https://www.pypandas.cn/ 网站证书,提示 2019/11/12 过期。被浏览器认为不安全。
认领user_guide/indexing.md部分有关索引和数据选择的翻译工作,暂时计划在2-3周内完成,最迟到8月31日。
(undefined) ./patch/file/Comment.vue?vue&type=script&lang=js& (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--3-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/babel-loader/lib??ref--3-1!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--0-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/vue-loader/lib??vue-loader-options!./patch/file/Comment.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve './util' in '/home/jue/workspace/numpy-cn/patch/file'
resolve './util' in '/home/jue/workspace/numpy-cn/patch/file'
using description file: /home/jue/workspace/numpy-cn/package.json (relative path: ./patch/file)
Field 'browser' doesn't contain a valid alias configuration
using description file: /home/jue/workspace/numpy-cn/package.json (relative path: ./patch/file/util)
no extension
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util.js doesn't exist
.jsx
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util.jsx doesn't exist
.vue
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util.vue doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util.json doesn't exist
.styl
Field 'browser' doesn't contain a valid alias configuration
/home/jue/workspace/numpy-cn/patch/file/util.styl doesn't exist
as directory
/home/jue/workspace/numpy-cn/patch/file/util doesn't exist
[/home/jue/workspace/numpy-cn/patch/file/util]
[/home/jue/workspace/numpy-cn/patch/file/util.js]
[/home/jue/workspace/numpy-cn/patch/file/util.jsx]
[/home/jue/workspace/numpy-cn/patch/file/util.vue]
[/home/jue/workspace/numpy-cn/patch/file/util.json]
[/home/jue/workspace/numpy-cn/patch/file/util.styl]
@ ./patch/file/Comment.vue?vue&type=script&lang=js& (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--3-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/babel-loader/lib??ref--3-1!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--0-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/vue-loader/lib??vue-loader-options!./patch/file/Comment.vue?vue&type=script&lang=js&) 19:0-60 59:13-21 69:13-21 101:13-21 111:13-21
@ ./patch/file/Comment.vue?vue&type=script&lang=js&
@ ./patch/file/Comment.vue
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/.temp/internal/page-components.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/util.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/app.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/clientEntry.js
@ multi /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/clientEntry.js
(undefined) ./patch/file/Comment.vue?vue&type=script&lang=js& (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--3-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/babel-loader/lib??ref--3-1!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--0-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/vue-loader/lib??vue-loader-options!./patch/file/Comment.vue?vue&type=script&lang=js&)
Module not found: Error: Can't resolve './util' in '/home/jue/workspace/numpy-cn/patch/file'
resolve './util' in '/home/jue/workspace/numpy-cn/patch/file'
using description file: /home/jue/workspace/numpy-cn/package.json (relative path: ./patch/file)
using description file: /home/jue/workspace/numpy-cn/package.json (relative path: ./patch/file/util)
no extension
/home/jue/workspace/numpy-cn/patch/file/util doesn't exist
.js
/home/jue/workspace/numpy-cn/patch/file/util.js doesn't exist
.jsx
/home/jue/workspace/numpy-cn/patch/file/util.jsx doesn't exist
.vue
/home/jue/workspace/numpy-cn/patch/file/util.vue doesn't exist
.json
/home/jue/workspace/numpy-cn/patch/file/util.json doesn't exist
.styl
/home/jue/workspace/numpy-cn/patch/file/util.styl doesn't exist
as directory
/home/jue/workspace/numpy-cn/patch/file/util doesn't exist
[/home/jue/workspace/numpy-cn/patch/file/util]
[/home/jue/workspace/numpy-cn/patch/file/util.js]
[/home/jue/workspace/numpy-cn/patch/file/util.jsx]
[/home/jue/workspace/numpy-cn/patch/file/util.vue]
[/home/jue/workspace/numpy-cn/patch/file/util.json]
[/home/jue/workspace/numpy-cn/patch/file/util.styl]
@ ./patch/file/Comment.vue?vue&type=script&lang=js& (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--3-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/babel-loader/lib??ref--3-1!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/cache-loader/dist/cjs.js??ref--0-0!/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/vue-loader/lib??vue-loader-options!./patch/file/Comment.vue?vue&type=script&lang=js&) 19:0-60 59:13-21 69:13-21 101:13-21 111:13-21
@ ./patch/file/Comment.vue?vue&type=script&lang=js&
@ ./patch/file/Comment.vue
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/.temp/internal/page-components.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/util.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/app.js
@ /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/serverEntry.js
@ multi /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/client/serverEntry.js
Error: Failed to compile with errors.
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/@vuepress/core/lib/node/build/index.js:186:16
at finalCallback (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/MultiCompiler.js:254:12)
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/MultiCompiler.js:277:6
at done (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/neo-async/async.js:2931:13)
at runCompilers (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/MultiCompiler.js:181:48)
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/MultiCompiler.js:188:7
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/MultiCompiler.js:270:7
at finalCallback (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/Compiler.js:257:39)
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/Compiler.js:273:13
at AsyncSeriesHook.eval [as callAsync] (eval at create (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/tapable/lib/HookCodeFactory.js:33:10), :33:1)
at AsyncSeriesHook.lazyCompileHook (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/tapable/lib/Hook.js:154:20)
at onCompiled (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/Compiler.js:271:21)
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/Compiler.js:681:15
at AsyncSeriesHook.eval [as callAsync] (eval at create (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/tapable/lib/HookCodeFactory.js:33:10), :6:1)
at AsyncSeriesHook.lazyCompileHook (/srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/tapable/lib/Hook.js:154:20)
at /srv/node-v12.13.0-linux-x64/lib/node_modules/vuepress/node_modules/webpack/lib/Compiler.js:678:31
在线版打开太慢,希望有离线版的
最晚八月一号提交,谢谢
timedeltas.html 与 timeseries.html 占坑 截至 1005
如题
网站加载速度太慢
准备动手basics啦
df.append()方法已经弃用,目前官方文档最新版中已经删除
最晚 2.08 提交,谢谢
https://github.com/teadocs/pandas-cn/blame/v0.25.0/docs/docs/getting_started/basics.md#L382
'three': pd.Series(np.random.randn(3), index=['a', 'b', 'c', 'd'])})
Series长度为3,index长度为4,会报错
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.