Skip to main content

Posts

R programming

R is a programming language. R is often used for statistical computing and graphical presentation to analyze and visualize data. Example How to output some text, and how to do a simple calculation in R: "Hello World!" 5 + 5 Result: [1] "Hello World!" [1] 10 Example How you can use R to easily create a graph with numbers from 1 to 10 on both the x and y axis: plot(1:10) Result: What is R R is a popular programming language used for statistical computing and graphical presentation. Its most common use is to analyze and visualize data. Why Use R? It is a great resource for data analysis, data visualization, data science and machine learning It provides many statistical techniques (such as statistical tests, classification, clustering and data reduction) It is easy to draw graphs in R, like pie charts, histograms, box plot, scatter plot, etc++ It works on different platforms (Windows, Mac, Linux) It is open-source and free It has a large community support It has many pa
Recent posts

ORGANIZATIONAL BEHAVIOUR

 ORGANIZATIONAL BEHAVIOUR The concept of organisational Behaviour Organization is the backbone of management. No management can perform its functions smoothly Without an efficient organization. DEFINITION It's refers to the behavior of individuals and groups within organizations and the interaction between organizational members and their external environment. https://deepanshugautam9899.medium.com/organizational-behaviour-10702e0307ce Nature of organization behaviour  A separate field of study An applied science A total system Approach An Interdisciplinary Approach Normative Science Humanistic and optimistic Approach A separate field of study: A discipline is an accepted science that is based on a theoretical foundation. But ,  organization behaviour  has a multi-interdisciplinary orientation and is, thus, not based on a specific theoretical background. Therefore, it is better reasonable to call  organization behaviour  a separate field of study rather than a discipline only. An

Python program to make simple calculator

Python program to make simple calculator In this example you will learn to create a simple calculator that can add,subtract,multiply or divide depending upon the input from the user. Example: simple calculator by using functions. def   add ( num1 , num2 ):    return  num1+num2   def   subtract  ( num1 , num2 ):    return  num1-num2   def   multiply  ( num1 , num2 ):    return  num1*num2   def   divide  ( num1 , num2 ):    return  num1/num2   print ( "please enter your choice :\n" \          "2.subtract\n" \        "3.multiply\n" \        "4.divide\n" )   ch=int( input ( "please enter your choice :" )) num1 = int( input ( "Enter the first number:" ))   if  ch== 1 :    print (num1+num2) elif  ch== 2 :      print (num1-num2) elif  ch== 3 :      print (num1*num2) elif  ch== 4 :      print (num1 /num2)   else :      print ( "invalid choice" ) num2 = int( input ( "Enter the second number:" ))        "1.add\n

Python - How To Merge Two Dictionaries

  Python -  How to merge two dictionaries As we know If you are working as Python developer, data analytics or data scientists for any organisation then it is very important for you to know how to merge two dictionaries. There are various ways in which Dictionaries can be merged by the use of various functions and constructors in Python. In this article, we will discuss a few ways of merging dictionaries.  Using the method update () By using the method update() in Python, one list can be merged into another. But in this, the second list is merged into the first list and no new list is created. It returns  None .    Example # Python code to merge dict using update() method def Merge(dict1, dict2):      return (dict2.update(dict1))        # Driver code dict1 = { 'a' : 20 , 'b' : 8 } dict2 = { 'd' : 6 , 'c' : 4 }   # This return None print (Merge(dict1, dict2))   # changes made in dict2 print (dict2) Output None {'c': 4, 'a': 20,

Django in Python

What is Django? Django is a free and open source web application framework written in Python that encourages rapid development and clean pragmatic design. As you know  A framework is nothing more than a collection of modules that  make development easier. They are grouped together, and allow you to create applications or websites from an existing source, instead of from scratch. Some well known sites that use Django include PBS, Instagram, Disqus, Washington Times, Bitbucket and Mozilla. Django offers a big collection of modules which you can use in your own projects. Primarily, frameworks exist to save developers a lot of wasted time and headaches and Django is no different.

Introduction of python

What is Python? Python is a popular programming language. This language was created by Guido van Rossum  in 1991 and further developed by the Python Software Foundation. As you know it is work quickly and integrate systems more efficiently.   It is manly used for: 1.                   web development (server-side),  2.                   software development, 3.                   mathematics and data analytics 4.                   system scripting etc. What can Python do? It can be used on a server to create web applications. It can also used alongside software to create workflows and connect to database systems. It can also read and modify files and handle big data and perform complex mathematics etc. Why Python? It works on different platforms likes (Windows, Mac, Linux, Raspberry Pi, etc). It can be runs on an interpreter system, meaning that code can be executed as soon as it is written. This means that prototyping can be