Im on a csv file using pandas and i have this error what do i do?

31 views Asked by At

im on a csv file and im using pandas i dont know what wrong with my code

df.describe([maximum]['Price(USD)'])
<>:1: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
<>:1: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
<ipython-input-70-6f9ec0183b49>:1: SyntaxWarning: list indices must be integers or slices, not str; perhaps you missed a comma?
  df.describe([maximum]['Price(USD)'])
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-70-6f9ec0183b49> in <cell line: 1>()
----> 1 df.describe([maximum]['Price(USD)'])

TypeError: list indices must be integers or slices, not str
0

There are 0 answers