diff --git a/yoshi-seals1.3.3/Seals/scan/__pycache__/__init__.cpython-38.pyc b/yoshi-seals1.3.3/Seals/scan/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..e2911f9 Binary files /dev/null and b/yoshi-seals1.3.3/Seals/scan/__pycache__/__init__.cpython-38.pyc differ diff --git a/yoshi-seals1.3.3/Seals/scan/__pycache__/scan.cpython-38.pyc b/yoshi-seals1.3.3/Seals/scan/__pycache__/scan.cpython-38.pyc new file mode 100644 index 0000000..bc6dd0d Binary files /dev/null and b/yoshi-seals1.3.3/Seals/scan/__pycache__/scan.cpython-38.pyc differ diff --git a/yoshi-seals1.3.3/Seals/scan/scan.py b/yoshi-seals1.3.3/Seals/scan/scan.py index 07c5cbd..e11a418 100644 --- a/yoshi-seals1.3.3/Seals/scan/scan.py +++ b/yoshi-seals1.3.3/Seals/scan/scan.py @@ -20,18 +20,12 @@ import numpy as np import pandas as pd -def numpy(path, sep=None, decimal=None): +def numpy(path, sep=None): if sep is None: sep = "," - if decimal is None: - decimal = "." - - df=pd.read_csv(path, sep=sep, decimal=decimal, header=None) - array = df.to_numpy() - - return array + return np.genfromtxt(path, delimiter=sep) def pandas(path, sep=None, decimal=None): diff --git a/yoshi-seals1.3.3/Seals/write/__init__.py b/yoshi-seals1.3.3/Seals/write/__init__.py index 90f152d..4622dad 100644 --- a/yoshi-seals1.3.3/Seals/write/__init__.py +++ b/yoshi-seals1.3.3/Seals/write/__init__.py @@ -17,5 +17,8 @@ # with this program; if not, write to the Free Software Foundation, Inc., # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -from .write import numpy as np -from .write import pandas as pd \ No newline at end of file +from .write import numpy +from .write import pandas + +np = numpy() +pd = pandas() diff --git a/yoshi-seals1.3.3/Seals/write/__pycache__/__init__.cpython-38.pyc b/yoshi-seals1.3.3/Seals/write/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..29386bc Binary files /dev/null and b/yoshi-seals1.3.3/Seals/write/__pycache__/__init__.cpython-38.pyc differ diff --git a/yoshi-seals1.3.3/Seals/write/__pycache__/write.cpython-38.pyc b/yoshi-seals1.3.3/Seals/write/__pycache__/write.cpython-38.pyc new file mode 100644 index 0000000..995f60f Binary files /dev/null and b/yoshi-seals1.3.3/Seals/write/__pycache__/write.cpython-38.pyc differ diff --git a/yoshi-seals1.3.3/Seals/write/write.py b/yoshi-seals1.3.3/Seals/write/write.py index a2b9461..632928e 100644 --- a/yoshi-seals1.3.3/Seals/write/write.py +++ b/yoshi-seals1.3.3/Seals/write/write.py @@ -48,4 +48,4 @@ class pandas: def txt(self, df, path): np.savetxt(path, df.values, fmt='%8f', delimiter=' ', \ - newline='\n', header='', footer='', comments='# ', encoding=None) \ No newline at end of file + newline='\n', header='', footer='', comments='# ', encoding=None)