Closed a-szulc closed 4 months ago
When reading data from CSV file it fails because of df.shape()
df.shape()
error:
There was an error during code execution: TypeError 'tuple' object is not callable
traceback:
--------------------------------------------------------------------------- TypeError Traceback (most recent call last) Cell In[2], line 4 2 df = pd.read_csv(r"/home/adas/mljar/studio/test_with_Survived.csv") 3 # display data shape ----> 4 print(df.shape()) 5 # display first rows 6 df.head() TypeError: 'tuple' object is not
change df.shape() to df.shape, and it is fixed
df.shape
When reading data from CSV file it fails because of
df.shape()
error:
traceback:
change
df.shape()
todf.shape
, and it is fixed