Informatics Practices

If a DataFrame is created using a 2D dictionary, then the indexes/row labels are formed from …………… .

  1. dictionary's values
  2. inner dictionary's keys
  3. outer dictionary's keys
  4. none of these

Python Pandas

2 Likes

Answer

inner dictionary's keys

Reason — When a DataFrame is created using a 2D dictionary, then the indexes/row labels are formed from keys of inner dictionaries.

Answered By

3 Likes


Related Questions