02c Spatial Data Analytics: Gridded Data in Python

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ • 2

  • @luisandrade5126
    @luisandrade5126 3 роки тому

    np.set_printoptions(threshold=np.nan) did'nt work for me. However, my Python 3 kernel suggested these commands that worked correctly:
    import sys
    np.set_printoptions(threshold=sys.maxsize)

    • @juliebourdeau4606
      @juliebourdeau4606 3 роки тому +1

      I also have the same issue.
      To fix it replace with the following code:
      import sys
      np.set_printoptions(threshold=sys.maxsize) #this will allow to visualize the entire array
      print(porosity_map)