From cf6e525e167d39d49d0dc79cc8b39c168e1121e3 Mon Sep 17 00:00:00 2001 From: Shristi Singh Thakur <119031272+th-shristi@users.noreply.github.com> Date: Sat, 23 Sep 2023 15:49:13 +0530 Subject: [PATCH 1/2] Fixes TypeError#214 The issue is about unpacking the numpy float.64 objects but as they are non-iterable they cannot e iterarated rather we can still access it's values with the given code. --- TypeError#214 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 TypeError#214 diff --git a/TypeError#214 b/TypeError#214 new file mode 100644 index 00000000..ff2bc71c --- /dev/null +++ b/TypeError#214 @@ -0,0 +1,14 @@ +numpy float.64 is a non-iterable so you can not directly unpack it as you do with the iterables like list or tuple. +However, you can get access it's value directly as- + +import numpy as np + +# Create a numpy.float64 object +my_float = np.float64(42.0) + +# Access its value +value = my_float.item() +print(value) # This will print: 42.0 + +numpy.float64 objects are typically used for numerical computations, and you rarely need to "unpack" them in the same way you would with iterable data structures. +Instead, you work with them directly as numeric values. From b18d74260c230efb5f92f9aa24ccf68c1ce55376 Mon Sep 17 00:00:00 2001 From: Shristi Singh Thakur <119031272+th-shristi@users.noreply.github.com> Date: Sat, 23 Sep 2023 22:00:34 +0530 Subject: [PATCH 2/2] Create Fixes #136 --- Fixes #136 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Fixes #136 diff --git a/Fixes #136 b/Fixes #136 new file mode 100644 index 00000000..d256466b --- /dev/null +++ b/Fixes #136 @@ -0,0 +1,12 @@ +import seaborn as sns +no module named as seaborn +/ +this error even after installing in conda install seaborn +can anybody fix this + +**TO solve this error** +You have to install seaborn on your device. If you are using it on Anconda and Google colab they have seaborn library by default. +If you are using on pip, kindly run the following command on your Command Prompt + +pip install seaborn +and press Enter.