John Griner Python Tutor Available

2021-08-09 Thread John Griner
   To whom it may concern,

I am not sure if this is appropriate, but I would like to somehow
   `advertise' my classes.  I have a free workshop: Intro to Python: Data
   Wrangling, Visualization, List and Tuples and a series that consist of 3
   parts, (1) Data Wrangling (2) Data Visualization and (3) List and Tuples.
   The free workshop is a broad overview of the series that consist of 3
   classes. It was designed for the beginner, but someone with intermediate
   to advanced knowledge of Python may also benefit.  I also have 2 other
   more advanced courses, and after sometime, I will offer other, more
   advanced courses.



   If you would like the link to join, I can provide the link, and if you ae
   unsure of whether or not you want to take the courses, just take the free
   workshop.



   Best, John Griner

   [1][IMG] Virus-free. [2]www.avast.com

References

   Visible links
   1. 
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon
   2. 
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link
-- 
https://mail.python.org/mailman/listinfo/python-list


Recoding Categorical to Numerical

2021-08-13 Thread John Griner
Hello, and thanks in advance,

 I am trying to recode categorical variable to numeric.  Despite using
lambda, If else, dummy-recoding, and so forth, what I get is from ONE
column that has 4 variables (City, Town, Suburb, Rural), I get FOUR columns:



localeDummy_City  localeDummy_Town  localeDummy_Suburb
localeDummy_Rural   locale_recode



with the corresponding numeric variable.



What I want is the recode to have ONE column that has the numeric
conversion.



For instance:


local_recode

2

4

4

6

2

8

6

2

8

2

2

4

6

4

8

and so forth, where I have set City to 2, and Town to 4, etc.


Again, thanks, John



loca




Virus-free.
www.avast.com

<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
https://mail.python.org/mailman/listinfo/python-list


Recoding Categorical to Numerical

2021-08-16 Thread John Griner
thanks


Virus-free.
www.avast.com

<#m_4567368322047287300_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-- 
https://mail.python.org/mailman/listinfo/python-list