• +91 9723535972
  • info@interviewmaterial.com

Data Science Interview Questions and Answers

Question - How to convert a numpy array to a dataframe of given shape?

Answer - If matrix is the numpy array in question: df = pd.DataFrame(matrix) will convert matrix into a dataframe.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners