v1.3
This commit is contained in:
@@ -22,7 +22,7 @@ This python package is made for applied Numeric Calculus of Linear Algebra. It i
|
|||||||
|
|
||||||
The module *scan* has a function for *Numpy* arrays and *Pandas* dataframes, and used the following syntax `Seals.scan.np(path)` for *Numpy* and `Seals.scan.pd(path)` for *Pandas*, where `path` is the path to your directory.
|
The module *scan* has a function for *Numpy* arrays and *Pandas* dataframes, and used the following syntax `Seals.scan.np(path)` for *Numpy* and `Seals.scan.pd(path)` for *Pandas*, where `path` is the path to your directory.
|
||||||
|
|
||||||
The module *write* has a function for *Numpy* arrays and *Pandas* dataframes, and uses the following syntax `Sealswrite.np(array,path)` for *Numpy*, where `array` is the matrix that you desire to output and `path` is the path to your directory, and `Seals.write.pd(df,path)` for *Pandas*, where `df` is the matrix that you desire to output and `path` is the path to your directory.
|
The module *write* has a function for *Numpy* arrays and *Pandas* dataframes, and uses the following syntax `Seals.write.np(array,path)` for *Numpy*, where `array` is the matrix that you desire to output and `path` is the path to your directory, and `Seals.write.pd(df,path)` for *Pandas*, where `df` is the matrix that you desire to output and `path` is the path to your directory.
|
||||||
|
|
||||||
The module *insert* has a function for *matrix* and another for *vector*, and it has the following syntax `Seals.insert.function(array)`, where `insert` is the *Python Module* and `function` is either a `matrix` or a `vector` and `array` is either a *matrix* or a *vector*.
|
The module *insert* has a function for *matrix* and another for *vector*, and it has the following syntax `Seals.insert.function(array)`, where `insert` is the *Python Module* and `function` is either a `matrix` or a `vector` and `array` is either a *matrix* or a *vector*.
|
||||||
|
|
||||||
|
|||||||
@@ -15,10 +15,4 @@
|
|||||||
|
|
||||||
# You should have received a copy of the GNU General Public License along
|
# You should have received a copy of the GNU General Public License along
|
||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
from .insert import insert
|
|
||||||
from .process import process
|
|
||||||
from .scan import scan
|
|
||||||
from .write import write
|
|
||||||
from .eigen import eigen
|
|
||||||
Binary file not shown.
BIN
yoshi-seals1.3/Seals/eigen/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
yoshi-seals1.3/Seals/eigen/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
BIN
yoshi-seals1.3/Seals/eigen/__pycache__/eigen.cpython-37.pyc
Normal file
BIN
yoshi-seals1.3/Seals/eigen/__pycache__/eigen.cpython-37.pyc
Normal file
Binary file not shown.
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'insert'
|
|
||||||
|
|
||||||
from .insert import matrix
|
from .insert import matrix
|
||||||
from .insert import vector
|
from .insert import vector
|
||||||
Binary file not shown.
Binary file not shown.
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
def matrix(matrix):
|
def matrix(matrix):
|
||||||
|
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
|
|
||||||
while (i < matrix.shape[0]):
|
while (i < matrix.shape[0]):
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'process'
|
|
||||||
|
|
||||||
from .process import identity
|
from .process import identity
|
||||||
from .process import gauss
|
from .process import gauss
|
||||||
from .process import inverse
|
from .process import inverse
|
||||||
|
|||||||
Binary file not shown.
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'scan'
|
|
||||||
|
|
||||||
from .scan import numpy as np
|
from .scan import numpy as np
|
||||||
from .scan import pandas as pd
|
from .scan import pandas as pd
|
||||||
Binary file not shown.
Binary file not shown.
@@ -20,14 +20,26 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
def numpy(self, path):
|
def numpy(path, sep=None, decimal=None):
|
||||||
|
|
||||||
df=pd.read_csv(path, sep=';',decimal=",",header=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()
|
array = df.to_numpy()
|
||||||
|
|
||||||
return array
|
return array
|
||||||
|
|
||||||
def pandas(self, path):
|
def pandas(path, sep=None, decimal=None):
|
||||||
|
|
||||||
return pd.read_csv(path, sep=';',decimal=",")
|
if sep is None:
|
||||||
|
sep = ","
|
||||||
|
|
||||||
|
if decimal is None:
|
||||||
|
decimal = "."
|
||||||
|
|
||||||
|
return pd.read_csv(path, sep=sep, decimal=decimal)
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'write'
|
from .write import numpy as np
|
||||||
|
from .write import pandas as pd
|
||||||
from .write import numpy
|
|
||||||
from .write import pandas
|
|
||||||
Binary file not shown.
@@ -15,10 +15,4 @@
|
|||||||
|
|
||||||
# You should have received a copy of the GNU General Public License along
|
# You should have received a copy of the GNU General Public License along
|
||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
from .insert import insert
|
|
||||||
from .process import process
|
|
||||||
from .scan import scan
|
|
||||||
from .write import write
|
|
||||||
from .eigen import eigen
|
|
||||||
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'insert'
|
|
||||||
|
|
||||||
from .insert import matrix
|
from .insert import matrix
|
||||||
from .insert import vector
|
from .insert import vector
|
||||||
@@ -19,7 +19,6 @@
|
|||||||
|
|
||||||
def matrix(matrix):
|
def matrix(matrix):
|
||||||
|
|
||||||
|
|
||||||
i = 0
|
i = 0
|
||||||
|
|
||||||
while (i < matrix.shape[0]):
|
while (i < matrix.shape[0]):
|
||||||
|
|||||||
@@ -17,8 +17,6 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'process'
|
|
||||||
|
|
||||||
from .process import identity
|
from .process import identity
|
||||||
from .process import gauss
|
from .process import gauss
|
||||||
from .process import inverse
|
from .process import inverse
|
||||||
|
|||||||
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'scan'
|
|
||||||
|
|
||||||
from .scan import numpy as np
|
from .scan import numpy as np
|
||||||
from .scan import pandas as pd
|
from .scan import pandas as pd
|
||||||
@@ -20,14 +20,26 @@
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import pandas as pd
|
import pandas as pd
|
||||||
|
|
||||||
def numpy(self, path):
|
def numpy(path, sep=None, decimal=None):
|
||||||
|
|
||||||
df=pd.read_csv(path, sep=';',decimal=",",header=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()
|
array = df.to_numpy()
|
||||||
|
|
||||||
return array
|
return array
|
||||||
|
|
||||||
def pandas(self, path):
|
def pandas(path, sep=None, decimal=None):
|
||||||
|
|
||||||
return pd.read_csv(path, sep=';',decimal=",")
|
if sep is None:
|
||||||
|
sep = ","
|
||||||
|
|
||||||
|
if decimal is None:
|
||||||
|
decimal = "."
|
||||||
|
|
||||||
|
return pd.read_csv(path, sep=sep, decimal=decimal)
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,5 @@
|
|||||||
# with this program; if not, write to the Free Software Foundation, Inc.,
|
# with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
name = 'write'
|
from .write import numpy as np
|
||||||
|
from .write import pandas as pd
|
||||||
from .write import numpy
|
|
||||||
from .write import pandas
|
|
||||||
BIN
yoshi-seals1.3/dist/yoshi-seals-1.3.tar.gz
vendored
BIN
yoshi-seals1.3/dist/yoshi-seals-1.3.tar.gz
vendored
Binary file not shown.
BIN
yoshi-seals1.3/dist/yoshi_seals-1.3-py3-none-any.whl
vendored
BIN
yoshi-seals1.3/dist/yoshi_seals-1.3-py3-none-any.whl
vendored
Binary file not shown.
@@ -30,7 +30,7 @@ Description: # Seals - Numeric Calculus
|
|||||||
|
|
||||||
The module *scan* has a function for *Numpy* arrays and *Pandas* dataframes, and used the following syntax `Seals.scan.np(path)` for *Numpy* and `Seals.scan.pd(path)` for *Pandas*, where `path` is the path to your directory.
|
The module *scan* has a function for *Numpy* arrays and *Pandas* dataframes, and used the following syntax `Seals.scan.np(path)` for *Numpy* and `Seals.scan.pd(path)` for *Pandas*, where `path` is the path to your directory.
|
||||||
|
|
||||||
The module *write* has a function for *Numpy* arrays and *Pandas* dataframes, and uses the following syntax `Sealswrite.np(array,path)` for *Numpy*, where `array` is the matrix that you desire to output and `path` is the path to your directory, and `Seals.write.pd(df,path)` for *Pandas*, where `df` is the matrix that you desire to output and `path` is the path to your directory.
|
The module *write* has a function for *Numpy* arrays and *Pandas* dataframes, and uses the following syntax `Seals.write.np(array,path)` for *Numpy*, where `array` is the matrix that you desire to output and `path` is the path to your directory, and `Seals.write.pd(df,path)` for *Pandas*, where `df` is the matrix that you desire to output and `path` is the path to your directory.
|
||||||
|
|
||||||
The module *insert* has a function for *matrix* and another for *vector*, and it has the following syntax `Seals.insert.function(array)`, where `insert` is the *Python Module* and `function` is either a `matrix` or a `vector` and `array` is either a *matrix* or a *vector*.
|
The module *insert* has a function for *matrix* and another for *vector*, and it has the following syntax `Seals.insert.function(array)`, where `insert` is the *Python Module* and `function` is either a `matrix` or a `vector` and `array` is either a *matrix* or a *vector*.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user