Identify alternating Uppercase and lower case characters in python : <p>I am having data as follows,</p>

<pre><code>data['word']

1  Word1
2  WoRdqwertf point
3  lengthy word
4  AbCdEasc
5  Not to be filtered
6  GiBeRrIsH
7  zSxDcFvGnnn
</code></pre>

<p>I want to find out alternating capital and small letters in the string and remove those rows containing words like these. For ex., if we see here, <code>WoRdqwertf , AbCdEasc, GiBeRrIsH,zSxDcFvGnnn</code> has alternating characters and I need these to be removed.</p>

<p>The point here is, the first row which contains <code>Word1</code> shouldn't be removed because it has only one caps followed by one small. I want to remove the rows only when it has a caps, small, caps arrangement or small, caps, small arrangement. My output here should be,</p>

<pre><code>data['word']

1  Word1
3  lengthy word
5  Not to be filtered
</code></pre>

<p>Can any body help me or give some idea how to approach this problem?</p>
