Skip to main content

Featured post

5 Super SEO Blogger Tools

In this post, I have explained top blogging tools that need to be considered by every blogger. These tools help you write better SEO friendly blog posts.



1). Headline Analyzer The best tool is the EMV Headline Analyzer. When you enter the headline it analyzes it and gives you EMV ranking. When you get '50' and above it performs better SEO.

2). Headline Length Checker The usual headline length is 50 to 60 characters. Beyond that, the headline will get truncated and looks ugly for search engine users. The tool SERP Snippet Optimization Tool useful to know how it appears in the search results.

3). Free Submission to Search Engines The tool Ping-O-Matic is a nice free submission tool. After your blog post, you can submit your feed to Ping-O-Matic. It submits to search engines freely.

4). Spell and Grammar Check Another free tool is Grammarly, this tool checks your spelling and grammar mistakes. So that you can avoid small mistakes.

5). Keyword AnalyzerWordstream Keyword analyzer i…

Python Pandas Series Constructor Top Examples

I am sharing the ideas on how to use a series constructor on a dataset using Python pandas.

Series Constructor

A series is an object of Pandas that represents a one-dimensional labeled array capable of holding any data type (integers, strings, floating-point numbers, Python objects, etc.).


Python Data

Example of One-dimensional Data


single dimension data
Dataframe data
A single dimension data you can derive as (index, value):

1,10
2,40
3, 01
4, 99

So, in the above "Dataframe" when you separate the data of a single column with its index, you can say it as one-dimensional data.

When one index has multiple values in brackets, you can say it as a multi-dimensional array. The example is (1, (10,20))


mySeries = pd.Series(data, index=index)

Here, pd is a Pandas object and data refers to a Python dictionary of "ndarray" or even a scalar value.

A Series is a single column of data from a DataFrame. It is a single dimension of data, composed of just an index and the data.

How to Use Series Constructor in Python

In the first example, I show how to construct single dimension data and how to get index and values from the series data.


>>>mySeries = pd.Series([10,20,30], index=[1,2, 'a'])

In the above example, in the index, I have given 'a'. So for alpha index types, you need to give in quotes.

The result from the above code

Series data


Comments

Most Viewed

Tokenization story you need Vault based Vs Vault-less

The term tokenization refers to create a numeric or alphanumeric number in place of the original card number. It is difficult for hackers to get original card numbers.

Vault-Tokenization is a concept a Vault server create a new Token for each transaction when Customer uses Credit or Debit Card at Merchant outlets 
Let us see an example,  data analysis. Here, card numbers masked with other junk characters for security purpose.

Popular Tokenization ServersThere are two kinds of servers currently popular for implementing tokenization.
Vault-based Vault-less Video Presentation on Tokenization
Vault-based server The term vault based means both card number and token will be stored in a Table usually Teradata tables. During increasing volume of transactions, the handling of Table is a big challenge.
Every time during tokenization it stores a record for each card and its token. When you used a card multiple times, each time it generates multiple tokens. It is a fundamental concept.
So the challe…