Print out the Basic Info of our Dataset
Now that we have imported our data, let's check its shape and main info about its columns.
Methods description
-
.shape
: This attribute returns a tuple representing the dimensions of the DataFrame, where the first element is the number of rows and the second element is the number of columns. It does not take any arguments; -
.info()
method in Pandas provides a concise summary of the DataFrame, including its index data type and column data types, non-null values, and memory usage.
Swipe to start coding
- Get the dimensionality of the DataFrame).
- Get DataFrame information.
Solução
Obrigado pelo seu feedback!
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 9.09
Print out the Basic Info of our Dataset
Now that we have imported our data, let's check its shape and main info about its columns.
Methods description
-
.shape
: This attribute returns a tuple representing the dimensions of the DataFrame, where the first element is the number of rows and the second element is the number of columns. It does not take any arguments; -
.info()
method in Pandas provides a concise summary of the DataFrame, including its index data type and column data types, non-null values, and memory usage.
Swipe to start coding
- Get the dimensionality of the DataFrame).
- Get DataFrame information.
Solução
Obrigado pelo seu feedback!