Programming > Summary > Python programming. Easier and understandable way (All)
import pandas as pd import numpy as np heights_A = pd.Series([176.2, 158.4, 167.6, 156.2, 161.4], index = ['s1', 's2', 's3', 's4', 's5']) print(heights_A,end = "\n") print(heights_A.shape) *****... *************************************************************************** import pandas as pd weights_A = pd.Series([85.1, 90.2, 76.8, 80.4, 78.9], index = ['s1', 's2', 's3', 's4', 's5']) print(weights_A,end = "\n") print(weights_A.dtype) ******************************************************************************* import pandas as pd heights_A = pd.Series([176.2, 158.4, 167.6, 156.2, 161.4], index = ['s1', 's2', 's3', 's4', 's5']) weights_A = pd.Series([85.1, 90.2, 76.8, 80.4, 78.9], index = ['s1', 's2', 's3', 's4', 's5']) df_A = pd.DataFrame(list(zip(heights_A,weights_A)), index = ['s1', 's2', 's3', 's4', 's5'], columns = ['Student_height', 'Student_weight'] ) print(df_A,end = "\n") print(df_A.shape) [Show More]
Last updated: 1 year ago
Preview 1 out of 7 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Add to cartInstant download
We Accept:
Connected school, study & course
About the document
Uploaded On
Jul 31, 2021
Number of pages
7
Written in
This document has been written for:
Uploaded
Jul 31, 2021
Downloads
0
Views
78
In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Browsegrades · High quality services·