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
€43.51
List Price:  €60.91
You save:  €17.40
£37.78
List Price:  £52.90
You save:  £15.11
CA$69.54
List Price:  CA$97.36
You save:  CA$27.82
A$72.90
List Price:  A$102.07
You save:  A$29.16
S$64.48
List Price:  S$90.28
You save:  S$25.79
HK$391.63
List Price:  HK$548.32
You save:  HK$156.68
CHF 39.96
List Price:  CHF 55.95
You save:  CHF 15.98
NOK kr488
List Price:  NOK kr683.25
You save:  NOK kr195.24
DKK kr325.13
List Price:  DKK kr455.21
You save:  DKK kr130.07
NZ$87.38
List Price:  NZ$122.34
You save:  NZ$34.95
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,133.63
List Price:  ৳8,587.58
You save:  ৳2,453.94
₹4,732.72
List Price:  ₹6,626.19
You save:  ₹1,893.47
RM201.35
List Price:  RM281.91
You save:  RM80.56
₦69,138.66
List Price:  ₦96,799.66
You save:  ₦27,661
₨13,951.51
List Price:  ₨19,533.24
You save:  ₨5,581.72
฿1,643.67
List Price:  ฿2,301.27
You save:  ฿657.60
₺2,223.05
List Price:  ₺3,112.44
You save:  ₺889.39
B$263.20
List Price:  B$368.51
You save:  B$105.30
R857.82
List Price:  R1,201.02
You save:  R343.19
Лв85.08
List Price:  Лв119.12
You save:  Лв34.04
₩75,808.41
List Price:  ₩106,137.85
You save:  ₩30,329.43
₪158.19
List Price:  ₪221.48
You save:  ₪63.29
₱3,037.16
List Price:  ₱4,252.27
You save:  ₱1,215.10
¥7,978.72
List Price:  ¥11,170.84
You save:  ¥3,192.12
MX$903.73
List Price:  MX$1,265.30
You save:  MX$361.56
QR182.26
List Price:  QR255.18
You save:  QR72.92
P689.25
List Price:  P965.01
You save:  P275.75
KSh6,491.20
List Price:  KSh9,088.20
You save:  KSh2,597
E£2,717.93
List Price:  E£3,805.32
You save:  E£1,087.38
ብር7,727.57
List Price:  ብር10,819.22
You save:  ብር3,091.65
Kz45,597.42
List Price:  Kz63,840.04
You save:  Kz18,242.62
CLP$46,203.25
List Price:  CLP$64,688.25
You save:  CLP$18,485
CN¥345.45
List Price:  CN¥483.65
You save:  CN¥138.20
RD$2,975.53
List Price:  RD$4,165.98
You save:  RD$1,190.45
DA6,659.76
List Price:  DA9,324.20
You save:  DA2,664.44
FJ$112.16
List Price:  FJ$157.03
You save:  FJ$44.87
Q382.60
List Price:  Q535.67
You save:  Q153.07
GY$10,464.42
List Price:  GY$14,651.02
You save:  GY$4,186.60
ISK kr6,248.25
List Price:  ISK kr8,748.05
You save:  ISK kr2,499.80
DH467.22
List Price:  DH654.15
You save:  DH186.92
L881.04
List Price:  L1,233.52
You save:  L352.48
ден2,681.46
List Price:  ден3,754.26
You save:  ден1,072.79
MOP$403.34
List Price:  MOP$564.71
You save:  MOP$161.36
N$858.40
List Price:  N$1,201.83
You save:  N$343.43
C$1,839.63
List Price:  C$2,575.63
You save:  C$736
रु7,580.78
List Price:  रु10,613.70
You save:  रु3,032.92
S/174.13
List Price:  S/243.80
You save:  S/69.66
K216.02
List Price:  K302.44
You save:  K86.42
SAR187.58
List Price:  SAR262.63
You save:  SAR75.05
ZK941.01
List Price:  ZK1,317.50
You save:  ZK376.48
L221.83
List Price:  L310.58
You save:  L88.75
Kč1,067.98
List Price:  Kč1,495.26
You save:  Kč427.27
Ft16,947.46
List Price:  Ft23,727.80
You save:  Ft6,780.34
SEK kr474.55
List Price:  SEK kr664.40
You save:  SEK kr189.85
ARS$69,260.54
List Price:  ARS$96,970.30
You save:  ARS$27,709.76
Bs346.69
List Price:  Bs485.40
You save:  Bs138.70
COP$184,005.29
List Price:  COP$257,622.14
You save:  COP$73,616.84
₡23,213.68
List Price:  ₡32,501.01
You save:  ₡9,287.33
L1,327.21
List Price:  L1,858.20
You save:  L530.99
₲326,829.93
List Price:  ₲457,588.06
You save:  ₲130,758.12
$U2,030.76
List Price:  $U2,843.23
You save:  $U812.46
zł186.59
List Price:  zł261.25
You save:  zł74.65
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.