Sunday, 23 October 2016

Comprehension in Python

Comprehension

1. They are easy to write, concise and powerful way of data transformation.
2. They are one of the most powerful and useful feature of python.

Example as below

Square = [i**2 for i in range(50) if i % 3 == 0)

The same would need more lines of code if we use traditional for loop.

                            
                        

                                                                  -- Notes from classes of Michele Vallisneri

Python Dictionary

Dictionary in Python:

1. Dictionary in python maps name to values. Names are called keys. It can also be a number or any object which is hashable (can be converted to number).

2. Dictionary have keys and values. It can be looped in three ways.
On dict.keys , dict.values , or dict.items

3.  Keys and values don't come in alphabetical order. Which means index is not guaranteed for
Python dictionary.

4. They are widely used to collect data items of different kind and where sequence or order is not expected.

5. Denoted by { }


                                                                          -- Notes from classes of Michele Vallisneri

Python Lists

Lists in Python:

1. Python lists are very useful. You see them everywhere.
2. They are flexible and can contain heterogeneous data.
3. They are indexed with c style indexing (First element starts with zero index).
4. They are used where order of the elements matter.
5. Slicing can be applied on lists to create sublists.
6. Appropriately used when data is of same type.
7. Denoted by [ ]


                                                                               -- Notes from classes of Michele Vallisneri

Saturday, 8 October 2016

The five frames of Organizational Performance and Health

Transformation stages - The five frames of Performance and Health


Aspire - 
Where do we want to go?

Assess -
How ready are we to go there ?

Architect -
What do we need to do to get there ?

Act -
How do we manage the journey ?

Advance -
How do we keep moving forward ?


In performance, these challenges and approaches are :


Aspire -
How do we develop a change vision and targets (the strategic objectives)

Assess -
How to identify and diagnose an organisation's ability to achieve its vision and targets (the capability platform)

Architect -
How to develop a concrete, balanced set of initiatives to improve performance (the portfolio of initiatives)

Act -
How to determine and execute the right scaling up approach for each initiative in the portfolio (the delivery model)

Advance -
How to make the transition from a transformation focussed on a one time step change to an era of ongoing improvement efforts (the continuous improvement infrastructure)


And in health, the challenges and approaches are :


Aspire -
How to determine what 'healthy' looks like for an organisation (the health essentials)

Assess -
How to uncover the root-cause mindsets that drive organisational health (the discovery process)

Architect -
How to reshape the work environment to influence healthy mindsets (the influence model)

Act -
How to ensure that energy for change is continually infused and unleashed (the change engine)

Advance -
How to lead transformation and sustain high performance from core of self-mastery (entered leadership)


                                                                               -- Learnings from the book 'Beyond Performance'