Getting started with Python for Data Analytics

Hey are you one of them, who is interested in Data Analytics and pondering of learning Python?? But at the same time you might be having a lots of questions in your mind like how to get started, what are the tools do I require or what are the basic requirements to learn Python.

So you can take a deep breath and just relax as learning Python is not a rocket science.

You just need to be a enthusiast learner with any prior programming language(like C or Java). This post will help you to get some guidelines to get yourself involved and show you the proper road map to enhance your analytics skill in Python.

Roadmap:

  1. Get the Anaconda distribution Package. Install it into your system and try to explore the GUI of it
  2. Learn the Programming Basics of Python.
  3. Explore about the basic data structures and the purpose of using them(List, Dictionary and Tuples)
  4. There are a lots of packages for Data Analytics. But as a beginner you can get started with numpy and pandas
  5. For visualization learn matplotlib

 

How to develop a website and desktop aplication using a single stack Technology

Every single web developer face the challenge if they want their project to be done on both web and
application stack. Even if the developer have the knowledge of both the stack, e.g. Application:(VB.NET, C#) or
Web:(php,HTML,javascript,CSS,ASPX), then it’s almost a situation where one would think either of working
on both technology paralelly or choosing the other option i.e. one after another. Somehow it could be done choosing
one of those options with some worse head bang efforts.
But, will it be a better approach if there is a time constraint??Than certainly, it’s a NO.
So if you are a PHP developer thinking of getting a solution over this situation than you are in the better place.
Following are the components you need to know before getting it started:
(1)PHPDesktop Chrome
(2)SQlite Database
(3)PHP using PDO
(4)InnoSetup Installer

The upcoming Post coming soon will be helpful to you, where I will tell you step by step about each component that you must know before developing your application/website. Stay Tuned!

PHP Developers won’t be stressed anymore!!

Are you a PHP developer and tired of web development. Are you looking forward to work on desktop application development but still hate the limitations and constraints of .NET, than don’t worry there is a option. PHP Desktop Chrome will help you out to fulfill your needs without learning any new programming language.
PHP Desktop chrome runs on a chrome engine which will run your all php scripts in a window based GUI without any URL.

Maintain your 1k lines of codes and make it more legible.

How would you write your code to make it more understandable?? Do you think there are some coding standards over Internet? Will you be able to follow it strictly??
Precisely saying, yes it’s obvious there are coding etiquette which is followed by various giant IT companies. But the point is, it’s a choice for a Developer as because every developer may have their own convenient way of writing programs.
Here I have mentioned some of the fundamental coding standards which one could adapt it to maintain their code legibly:

1.Formatting
*Line length can be limited to 80-100 characters and not more than one statement per line
*Using of spaces is a good practice instead of using tab
*For every block-like construct (class, method or constructor) following of the rules can be followed:
-Braces are used with ( if, else, for, do, while ) statement even if the body is empty or contains a single statement
e.g
if ()
{

}

-Each time a new block-like construct is opened, the indent can increased by two spaces
-Control statement ( if, else, elseif, switch) can have one space between the control keyword and opening parenthesis to distinguish them from function calls
e.g.
switch (condition){
case 1: action;
break;
default: defaultaction;
break;
}

*Long if statements can be split into several lines when character/line limit get exceeded
e.g.
if ( ( condition1
|| condition2 )
&& condition3
&& condition4 )
{
//code goes here
}

*Assigning value to a variable can have one or multiple spaces on either side of an equals   ( = ) sign in order to promote readability

$short               = 321 ;
$long_variable = 456 ;

*Functions should be called with no spaces between the function name, the opening between the function name, the opening
paranthesis, and the first parameter; spaces between commas and each parameter, and no space betweeen the last parameter
,the closing paranthesis, and the semicolon
e.g.
var = function($var,  $bar,  $small_var);

2.Naming
*Class names can be written in UpperCamelCase

e.g. $LongVariable
*Method names can be written in lowerCamelCase

e.g. $smallVariable
*Constant names can be all uppercase letters, with words separated by underscores
e.g. CONSTANT_CASE
*Local variables and Parameter names can be written in lowerCamelCase

e.g. $variableLength

3.Commenting
*Proper commenting of each method can be done using singled or multiple line comment
e.g.
void function()
{
//this is the content of the body
}

void new_function()
{
/*This method
*passes the variable to
*another function and returns
*Boolean value */
}