可视块模式下的多次删除
Multiple delete in visual block mode
我想删除此文本块中每行的前 4 个字符:
>>> from tslearn.utils import to_time_series
>>> my_first_time_series = [1, 3, 4, 2]
>>> formatted_time_series = to_time_series(my_first_time_series)
>>> print(formatted_time_series.shape)
我做了 Ctrl-v
3j
4x
并且每行只有第一个字符消失了。
>> from tslearn.utils import to_time_series
>> my_first_time_series = [1, 3, 4, 2]
>> formatted_time_series = to_time_series(my_first_time_series)
>> print(formatted_time_series.shape)
如何正确执行此操作?
想通了。 Select目视再删除,所以:
Ctrl-v
3j
3l
x
我想删除此文本块中每行的前 4 个字符:
>>> from tslearn.utils import to_time_series
>>> my_first_time_series = [1, 3, 4, 2]
>>> formatted_time_series = to_time_series(my_first_time_series)
>>> print(formatted_time_series.shape)
我做了 Ctrl-v
3j
4x
并且每行只有第一个字符消失了。
>> from tslearn.utils import to_time_series
>> my_first_time_series = [1, 3, 4, 2]
>> formatted_time_series = to_time_series(my_first_time_series)
>> print(formatted_time_series.shape)
如何正确执行此操作?
想通了。 Select目视再删除,所以:
Ctrl-v
3j
3l
x