Professional Documents
Culture Documents
===============
================== ==================================================
Function Description
================== ==================================================
mean Arithmetic mean (average) of data.
mode Mode (most common value) of data.
median Median (middle value) of data.
or
of
======================================================
package
==========
=>package is a collection modules
https://docs.python.org/3/tutorial/modules.html#packages
The __init__.py files are required to make Python treat directories containing the
file as packages
"""
def sum(x,y):
return(100)
print("###############from arithmatic############")
k=sum(10,20)
print("Sum of 10 and 20 is:",k)
print("#############from pandas############")
mydataset = {
'subjects': ["maths", "english", "telugu"],
'Marks': [90, 79, 82]
}
myvar = DataFrame(mydataset)
print(myvar)
#arithmatic#
print("###############from arithmatic############")
k=arith.sum(10,20)
print("Sum of 10 and 20 is:",k)
k1=arith.sub(10,20)
print("Sub of 10 and 20 is:",k1)
print(arith.a)
print("#################From math##############")
s1=m.sqrt(25)
print("Sqrt of 25 is:",s1)
print("#############from pandas############")
mydataset = {
'subjects': ["maths", "english", "telugu"],
'Marks': [90, 79, 82]
}
myvar = pd.DataFrame(mydataset)
print(myvar)
print("#############from statistics############")
x=stat.mean([3,4,5,6,7,10])
print(x)
x1=stat.mode([3,4,3,3,3,3,5,6])
print(x1)
x2=stat.median([3,4,5,6,7])
print(x2)
import statistics
x=statistics.mean([3,4,5,6,7,10])
print(x)
x1=statistics.mode([3,4,3,3,3,3,5,6])
print(x1)
x2=statistics.median([3,4,5,6,7])
print(x2)
"""