我计划在接下来的日子里在我的Windows机器上切换到vim 7.3--很快就会推出linux.我还计划切换我的vim设置,让病原体处理我的插件.我用谷歌搜索但尚未找到解决方案如何使用vimball技术处理插件进行设置.任何提示?
要从当前Vim缓冲区中的文件插入文本,我:r filename
用来插入光标下方的文本或:0r filename
插入第一行.
如何插入[光标]所在文件的内容?
Actual line with some coding [Cursor] // TODO for later version
Line below actual line ...
Run Code Online (Sandbox Code Playgroud) 我经常使用:.m$
移动或:.t$
将当前行复制到文件的末尾.有时,如果光标不会跳转到文件末尾或移动/复制命令的目标位置,则会更容易.它有选择吗?
import pandas as pd
import matplotlib.pyplot as plt
file = 'd:\\a\\pandas\\test.xlsx'
data = pd.ExcelFile(file)
df1 = data.parse('Link')
df2 = df1[['dataFor', 'total']]
df2
Run Code Online (Sandbox Code Playgroud)
收益:
print (type(df2))
Run Code Online (Sandbox Code Playgroud)
告诉我
class 'pandas.core.frame.DataFrame'
Run Code Online (Sandbox Code Playgroud)
试
df2.plot(kind='line')
Run Code Online (Sandbox Code Playgroud)
回报
matplotlib.axes._subplots.AxesSubplot at 0xe4241d0
Run Code Online (Sandbox Code Playgroud)
可能是环境吗?
Jupyter notebook > Help > About
The version of the notebook server is 4.2.3 and is running on:
Python 3.5.2 |Anaconda 4.2.0 (32-bit)| (default, Jul 5 2016, 11:45:57) [MSC v.1900 32 bit (Intel)]
Run Code Online (Sandbox Code Playgroud)
故障在哪里?matplotlib仍然是标准还是初学者应该选择Bokeh还是两者兼而有之?
sed -i "/xxxxxxxxxxxx/r inc-sausage" git.html
sed -i "/xxxxxxxxxxxx/d" git.html
Run Code Online (Sandbox Code Playgroud)
首先,当找到xxxxxxxxxxxx时,我插入inc-sausage的内容
其次我删除xxxxxxxxxxxx
这两个命令完全符合我的要求.但是如何将两个sed命令合并为一个?我试过了
sed -i "s/xxxxxxxxxxxx/r inc-sauasge" git.html
Run Code Online (Sandbox Code Playgroud) 目前我使用:
map <C-F2> :set cursorcolumn<Bar>set cursorline<CR>
map <C-F3> :set nocursorcolumn<Bar>set nocursorline<CR>
Run Code Online (Sandbox Code Playgroud)
如何仅使用C-F2修改映射以打开/关闭?
Is there an command like dG
(will delete from the current line to the end of file) which will delete from current line to including last line visible on screen?
我得到了vim和youcompleteme插件在windows下工作.详情请看这里
是否可以"不仅"用于编码,还可用于编写/编辑降价文档.如果是这样,我该怎么办?
文档对我说http://selenium-python.readthedocs.org/api.html:
get_attribute(name) Args: name - 要检索的属性/属性的名称。
我知道的一些参数是 textContent、innerHTML、outerHTML、href。我在哪里可以找到支持的参数列表?