मराठी

In Python Pandas, DataFrame. ______ [] is used for label indexing with DataFrames. - Informatics Practices

Advertisements
Advertisements

प्रश्न

In Python Pandas, DataFrame. ______ [] is used for label indexing with DataFrames.

पर्याय

  • label

  • index

  • labindex 

  • loc

MCQ
रिकाम्या जागा भरा
Advertisements

उत्तर

In Python Pandas, DataFrame. loc [] is used for label indexing with DataFrames.

Explanation:

In Pandas, the loc [] method is used for indexing based on labels, allowing us to access rows and columns using their respective labels.
Syntax: DataFrame. loc [row_label, column_label].

shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×