rename Questions

12

Solved

I have a project named XXX. I want to rename this project to YYY. Note that XXX is an extremely common term (for e.g. "data", or simply "project"), and thus a simple RegEx searc...
Mafala asked 27/10, 2015 at 14:6

4

Solved

I have numerous files in a very complex directory structure, and for reasons not worth discussing I need to rename all files with the extension of ".inp" to have ".TXT" extensions. There are numero...
Chickenlivered asked 15/7, 2013 at 15:47

1

Solved

I've created and deployed a production stack: const app = new cdk.App(); const stack = new cdk.Stack(app, 'myorg-production-api'); Now It's important to change the naming schema, and I need this s...

7

Solved

I don't know how to run command line stuff. I just don’t have the environment. So I'm trying to rename a branch on the GitHub website. It was, by default, named patch-1. Is it possible to rename ...
Notable asked 24/5, 2014 at 23:26

5

Solved

When I right click and try to rename a variable name in Microsoft Visual Studio Code on Mac OS Mojave, it prompts for the new name, I hit enter and nothing happens. I have Python extension and La...
Unique asked 6/3, 2019 at 6:46

2

Solved

Is it possible to rename a file in NERDTree? I know about the m menu but there is no rename option.
Penal asked 25/6, 2012 at 14:56

15

Can we rename a file say test.txt to test1.txt ? If test1.txt exists will it rename ? How do I rename it to the already existing test1.txt file so the new contents of test.txt are added to it fo...
Sikkim asked 21/7, 2009 at 12:5

1

I am trying to create a react native project named 'work-mobile'. (- in project name) When I do npx react-native init work-mobile the cli give me error "work-mobile" is not a valid name f...
Anecdotist asked 7/7, 2021 at 17:23

12

Solved

If I wish to simply rename a column (not change its type or constraints, just its name) in an SQL database using SQL, how do I do that? Or is it not possible? This is for any database claiming to ...
Jinajingle asked 6/10, 2008 at 14:44

18

Solved

I just renamed my local branch using git branch -m oldname newname but this only renames the local version of the branch. How can I rename the one on GitHub?
Giantism asked 1/3, 2012 at 22:7

4

Is there any way to change name, that is shown in prompt, while virtualenv activated? username@host:~$ python3 -m venv venv username@host:~$ source venv/bin/activate (venv) username@host:~$ But i ...
Pudendas asked 13/1, 2020 at 10:18

20

Solved

How do I rename a file using C#?
Omphalos asked 10/7, 2010 at 11:5

2

Solved

So I have the following data.table issue: library(data.table) dt1<-data.table(V1=runif(10),V2=sample(10),ID=1:10) dt1 V1 V2 ID 1: 0.26880759 10 1 2: 0.59148373 9 2 3: 0.15106101 8 3 4: 0...
Acne asked 13/7, 2017 at 12:27

2

Solved

I have a dataframe (df) that has 44 columns and I want to rename columns 2:44. I have a list (namesList) of length 42 that has the new column names. I then try to rename my columns by using the lis...
Hartzel asked 6/11, 2016 at 20:14

3

Solved

I'm trying to rename the file name of an image when it's uploaded if it exists, say if my file name is test.jpg and it already exists I want to rename it as test1.jpg and then test2.jpg and so on. ...
Kreitman asked 21/4, 2013 at 21:43

3

Solved

I want to add elements to an empty list on the fly. Each element in the list should be named automatically after a set of variables which value will vary. However, I cannot seem to find a way to ...
Tongue asked 20/5, 2015 at 13:57

7

Solved

I've got a dataframe called data. How would I rename the only one column header? For example gdp to log(gdp)? data = y gdp cap 0 1 2 5 1 2 3 9 2 8 7 2 3 3 4 7 4 6 7 7 5 4 8 3 6 8 2 8 7 9 9 10 8 6...
Headliner asked 3/11, 2013 at 21:28

4

Solved

I have several folders with different images sharing file names, with a folder structure like this: /parent/folder001/img001.jpg /parent/folder001/img002.jpg /parent/folder002/img001.jpg /parent/f...
Occasional asked 28/4, 2015 at 13:24

6

Solved

I'd like for my users to be able to re-name a file before uploading it. I have a File object in Javascript which has a name property that is already set, but i'd like for this to be able to be upd...
Historicism asked 9/6, 2015 at 13:46

2

Solved

I have a model with CharField named oldName. I want to rename the field to newName. When I run python manage.py makemigrations, I get a confirmation request "Did you rename model.oldName to model...
Jarita asked 5/10, 2016 at 5:54

4

Solved

When I press my shortcut to rename a variable (precisely it's the "Main menu" > "Refactor" > "Rename..." shortcut), the entire word is selected. Is it possible to change the behavior so that simpl...
Metic asked 26/4, 2017 at 8:44

4

Solved

import pandas as pd import numpy as np datain = np.loadtxt(datafile) df = pd.DataFrame(data = datain, columns = ["t","p","x","y","z"]) avg = df.groupby(["t"], sort=False)["p"].mean().rename(columns...
Cacuminal asked 27/2, 2019 at 18:56

7

I want add the date next to a filename ("somefile.txt"). For example: somefile_25-11-2009.txt or somefile_25Nov2009.txt or anything to that effect Maybe a script will do or some command i...
Hirsutism asked 25/11, 2009 at 9:21

3

Solved

is there any way to update existing sheet name of MS Excel file knowing that I am using apache poi in my android app I can create a sheet with my custom name HSSFSheet sheet = workbook.createShe...
Trainband asked 21/2, 2014 at 18:12

4

I used to give simple ids to Android Views, but lately, I stopped that altogether because of this issue. Let's say I have 2 layouts, one named first_layout.xml and second named second_layout.xml....
Antiquated asked 2/6, 2018 at 19:31

© 2022 - 2024 — McMap. All rights reserved.