-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
37 lines (28 loc) · 688 Bytes
/
main.py
File metadata and controls
37 lines (28 loc) · 688 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import store.arraysquare as arrsq
import store.addition
arr1=[]
for i in range(5):
n=int(input("Enter array values: "))
arr1.append(n)
print(arr1)
print(arrsq.array_square(arr1))
print(arrsq.greeting())
print(store.addition.addition(arr1))
import pandas as pd
import matplotlib.pyplot as plt
dataframe = pd.DataFrame([1,2,3,4,5])
print(dataframe)
try:
df = pd.read_csv('data.csv')
print(df.to_string())
except Exception as e:
print(e)
print(pd.__version__)
a=[1,4,5,7,3,5]
print(pd.Series(a))
data={
"students":["radha","krishna","srinivas","narayan"],
"rollnumbers":[456,432,421,478]
}
df=pd.DataFrame(data,index=["ece","ece","ece","ece"])
print(df)