Facundo-Barbera / us-medical-insurance-costs-analysis

A project provided by Codecademy, part of Data Science Foundations, extended to be a full exploratory data analysis.
0 stars 1 forks source link

TypeError on list #1

Closed Facundo-Barbera closed 1 year ago

Facundo-Barbera commented 1 year ago

Comments on issue:

  1. In exploratory data analysis, when defining functions for descriptive stats, data: list[dict] type hinting yields TypeError: 'type' object is not subscriptable.
  2. For usability purposes, consider writing all descriptive statistics in a dataFrame.
  3. For EDA tools, consider using pandas toolset: pd.csv_read, df.info, df.describe().
Facundo-Barbera commented 1 year ago

This is an error related to the old handling of the data, which was previously done by creating a dictionary of lists. This was inefficient and I have migrated the whole project to use Pandas (even though it was not originally intended to work this way).

Should be fixed on next pr.