Rename variables

2 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€42.45
List Price:  €59.44
You save:  €16.98
£37.02
List Price:  £51.84
You save:  £14.81
CA$68.39
List Price:  CA$95.76
You save:  CA$27.36
A$74.42
List Price:  A$104.19
You save:  A$29.77
S$64.19
List Price:  S$89.87
You save:  S$25.68
HK$388.50
List Price:  HK$543.94
You save:  HK$155.43
CHF 39.45
List Price:  CHF 55.23
You save:  CHF 15.78
NOK kr500.36
List Price:  NOK kr700.55
You save:  NOK kr200.18
DKK kr317.20
List Price:  DKK kr444.11
You save:  DKK kr126.90
NZ$85.64
List Price:  NZ$119.90
You save:  NZ$34.26
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,109.61
List Price:  ৳8,553.94
You save:  ৳2,444.33
₹4,488.40
List Price:  ₹6,284.13
You save:  ₹1,795.72
RM202.38
List Price:  RM283.35
You save:  RM80.97
₦72,539.98
List Price:  ₦101,561.78
You save:  ₦29,021.80
₨14,005.25
List Price:  ₨19,608.47
You save:  ₨5,603.22
฿1,553.63
List Price:  ฿2,175.21
You save:  ฿621.57
₺2,141.44
List Price:  ₺2,998.19
You save:  ₺856.74
B$277.15
List Price:  B$388.04
You save:  B$110.88
R833.23
List Price:  R1,166.59
You save:  R333.36
Лв83
List Price:  Лв116.21
You save:  Лв33.20
₩72,102.07
List Price:  ₩100,948.67
You save:  ₩28,846.60
₪159.59
List Price:  ₪223.44
You save:  ₪63.85
₱2,934.83
List Price:  ₱4,109
You save:  ₱1,174.16
¥7,827.18
List Price:  ¥10,958.68
You save:  ¥3,131.50
MX$895.36
List Price:  MX$1,253.57
You save:  MX$358.21
QR182.23
List Price:  QR255.14
You save:  QR72.90
P657.21
List Price:  P920.14
You save:  P262.93
KSh6,446.21
List Price:  KSh9,025.21
You save:  KSh2,579
E£2,377.21
List Price:  E£3,328.29
You save:  E£951.07
ብር7,778.68
List Price:  ብር10,890.78
You save:  ብር3,112.09
Kz45,605.18
List Price:  Kz63,850.90
You save:  Kz18,245.72
CLP$45,285.94
List Price:  CLP$63,403.94
You save:  CLP$18,118
CN¥350.26
List Price:  CN¥490.39
You save:  CN¥140.13
RD$3,133.87
List Price:  RD$4,387.67
You save:  RD$1,253.80
DA6,484.09
List Price:  DA9,078.25
You save:  DA2,594.15
FJ$113.43
List Price:  FJ$158.82
You save:  FJ$45.38
Q383.04
List Price:  Q536.29
You save:  Q153.24
GY$10,459.76
List Price:  GY$14,644.51
You save:  GY$4,184.74
ISK kr6,285.24
List Price:  ISK kr8,799.84
You save:  ISK kr2,514.60
DH456.15
List Price:  DH638.65
You save:  DH182.49
L838.70
List Price:  L1,174.25
You save:  L335.54
ден2,613.63
List Price:  ден3,659.29
You save:  ден1,045.66
MOP$400.47
List Price:  MOP$560.69
You save:  MOP$160.22
N$832.09
List Price:  N$1,164.99
You save:  N$332.90
C$1,839.96
List Price:  C$2,576.09
You save:  C$736.13
रु7,183.66
List Price:  रु10,057.70
You save:  रु2,874.03
S/168.23
List Price:  S/235.54
You save:  S/67.30
K215.90
List Price:  K302.28
You save:  K86.38
SAR187.58
List Price:  SAR262.63
You save:  SAR75.04
ZK1,128.64
List Price:  ZK1,580.19
You save:  ZK451.54
L216.21
List Price:  L302.71
You save:  L86.50
Kč1,029.27
List Price:  Kč1,441.06
You save:  Kč411.79
Ft16,426.71
List Price:  Ft22,998.71
You save:  Ft6,572
SEK kr457.80
List Price:  SEK kr640.96
You save:  SEK kr183.15
ARS$72,538.22
List Price:  ARS$101,559.32
You save:  ARS$29,021.09
Bs346.24
List Price:  Bs484.76
You save:  Bs138.52
COP$188,374
List Price:  COP$263,738.68
You save:  COP$75,364.67
₡24,970.93
List Price:  ₡34,961.30
You save:  ₡9,990.37
L1,317.86
List Price:  L1,845.11
You save:  L527.25
₲338,822.92
List Price:  ₲474,379.21
You save:  ₲135,556.28
$U1,959.55
List Price:  $U2,743.53
You save:  $U783.97
zł178.96
List Price:  zł250.56
You save:  zł71.60
Already have an account? Log In

Transcript

Okay in Python programming we can also change the color names of our data data. So we can do something like df dot renamed and columns equal sepal length to this name here. So we can do something like this. The renamed ADF rename columns equals Zeppelin columns equal Paulin. Case SEPA, then came to I say, SEPA, then we can call mine poo in more columns here. Okay, so SEPA land and we have set bovie and we change to sepal we can call them pacta Lane the change to pet lane and pet Toby okay to pet we as species we change to as a species.

Okay then we can run the code. So after we write the code we can run the code column name shall change columns equals apple and to contain, maybe we may sell something. k should be these are braces. colons equal braces. Okay, then we can run the code again. Okay, so our variable or columns had been renamed.

So we can rename our data our data frame columns is meta here.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.