Showing posts with the label python syntax cheat sheet

HBASE Vs. RDBMS Top Differences You can Unlock Now

HBASE in the Big data context has a lot of benefits over RDBMS. The listed differences below make you understandable why HBASE is popular in Hadoop (or Bigdata) platform. Let us check one by one quickly. HBASE Vs. RDBMS Differences Random Accessing HBase handles a large amount of data that is store in a distributed manner in the column-oriented format while RDBMS is systematic storage of a database that cannot support a random manner for accessing the database. Database Rules RDBMS strictly follow Codd's 12 rules with fixed schemas and row-oriented manner of database and also follow ACID properties. HBase follows BASE properties and implement complex queries. Secondary indexes, complex inner and outer joins, count, sum, sort, group, and data of page and table can easily be accessible by RDBMS. Storage From small to medium storage application there is the use of RDBMS that provide the solution with MySQL and PostgreSQL whose size increase with concurrency and performance.  Codd'

Python Syntax Errors Cheat Sheet

In Python, if you know syntax rules, you can eliminate errors. The mistakes programmers do are missing semicolons, adding extra commas, and extra spaces. Further Python is case sensitive. So using the wrong identifier gives an error. Python Syntax Rules List Indentation is unique to Python. You cannot find strict indentation in any other programming language. You need to focus on the three areas while writing a Python program. To avoid errors you need to learn indentation rules. Indentation or Syntax Errors Exceptions Handling Exceptions 1: Indentation If you do not follow the proper order, you will get an error. The details of one block shroud follow in one vertical line. The sub-block should be inside of that. In if loop, the IF, ELIF, and ELSE should have the same indentation. Not only, but the statement inside of them should also have the same indentation. Best Examples Understand these examples a good material on indentation for you. 2: Exceptions Python raises an exceptio