Showing posts with the label regular-expressions

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: How to Writes Regular Expressions

Regular Expressions are something like finding a matching string in another string. You will get either 'True' or 'False' as a response. I am not sharing here how to play tennis. My intention is if you just follow ideas, you can play tennis today. Python Regular Expressions Python Regular Expressions What is a regular expression? How does python support Best examples 1. What is Regular Expression? >>> haystack = 'My phone number is 213-867-5309.'  >>> '213-867-5309' in haystack True This is just a fundamental use of the regular expression. The real use of Regular Expression comes here. That is - to find if the main has any valid phone number. Regular expressions also called regexes. 2. Why We Need Regular Expressions? Data mining - to get required data if it is present are not Data validations - to get an answer if the received string is valid or not. i). How Python Supports Python has its own regular expression library. That is called