Data Science Classroom Notes – 16/Dec/2021

Data Frames contd

  • When we access the data frame by column or row positions we get vector and if you use drop=FALSE, you get a data frame Preview
  • Getting numbered elements from data frame. Get second, fourth row from the data frame Preview
  • slicing with logical Vectors Preview

List contd

  • This is a container to hold objects of different types
  • A list can contain a mix of numbers or characters or data.frames etc. Preview
  • To access indiviudal elements we use [[]] notation Preview
  • Little complex list Preview
  • Naming lists Preview

Matrices

  • Refer Examples Preview

Arrays

  • An array is essentially a multi dimensional vector.
  • It must all be of same type Preview

Note:

  • Understand Vectors Preview

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner