URL for Registering the Google form of Hackathon that is going to organized on 1st February by CSE Department ,NIIST https://forms.gle/E8TtCfNSJWojdvL49
Posts
pandas module in python
- Get link
- X
- Other Apps
Pandas is an opensource library that allows to you perform data manipulation in Python. Pandas library is built on top of Numpy, meaning Pandas needs Numpy to operate. Pandas provide an easy way to create, manipulate and wrangle the data. Pandas is also an elegant solution for time series data. Why use Pandas? Data scientists use Pandas for its following advantages: Easily handles missing data It uses Series for one-dimensional data structure and DataFrame for multi-dimensional data structure It provides an efficient way to slice the data It provides a flexible way to merge, concatenate or reshape the data It includes a powerful time series tool to work with What is a data frame? A data frame is a two-dimensional array, with labeled ...
Pre-defined Function in python
- Get link
- X
- Other Apps
We have already Learnt on the previous post that there is 14 Built in data types in python. Today's Agenda type() int() float() ord() complex() Now , If you have to make a variable x i.e.x=5 then On run -time,the interpreter decides its type after considering the content of that variable . we can also verify it by using a function called type() in IDLE. Note: IDLE is a short form of Integrated Development and learning Environment. Type Conversion: At first ,we understand that why do we type conversion in python by an example. let us consider that a variable x=6 ...
- Get link
- X
- Other Apps
Hello Guys ,Today i am uploading questions related to our post i hope that you learnt something new concept from this post. also Comment your answer below my post 1.Which of these is not a variable? a. abc b. x_y c. 123 d. _a12 2.Which of the following is an invalid statement? a. abc=1 b. a b c= 1 2 3 c. a,b,c =1000,2,3 d. a_b_c=1,000,000
- Get link
- X
- Other Apps
Data Types in Python: From the name it refers that " Data Types " Here Data Means "information" and types means "Kinds" we can say that Data Types means Kinds of Data. Why data? Actually our main Motto of making Program is to processing some data.Ex-Lets us we have to stored some data related to some students (like marks) and also we have to perform some operation on that data . so that it can easily perform some operation .Like we have to find the average of the marks,percentage of the marks etc. On what factors data is categorized? 1.Memory 2.Operation 3.Internal Representation. But In python We don't have to declare the types of the data while using. like C,C++,Java. ex- a=6 Here, "=" Don't read it as equal to ,it a assignment operator or simply assign. ...
- Get link
- X
- Other Apps
KEYWORDS in PYTHON Predefined or Reserved words are called keywords. Note :They can't be used as variable name as their meaning is already reserved. There are 33 Keywords in python 3. If you want to see the list of keywords in python Just go to IDLE FILE->New->save as test.py code: import keyword print(keyword.kwlist) 1.Three keywords True,False,None start with capital letter while other keyboard start with small letter. 2.In python , do while loop,switch expression is not available like C,C++ etc. 3.In python, if else,while for,and or not is available as keyword.
Comments in Python
- Get link
- X
- Other Apps
What's Comments?????? ? Comments in your python Scripts are statements that you want to ignore by the interpreter. Why Comments?? To make the code more understandable. Types of comments Two types -To indicate what a section of code perform. (usually for programmers) -Multi-line comment serve as documentation for others. Ways to write comments 1.Single line comments are created simply by starting a line with hash(#)character. 2 .Multi line comments are created by adding delimiter(""" """) or(''' ''') on each end of the comment . Ex-Comments shown below in IDLE(as a editor in python)