v1.3.3
This commit is contained in:
21
Source Code - Seals/write/__init__.py
Normal file
21
Source Code - Seals/write/__init__.py
Normal file
@@ -0,0 +1,21 @@
|
||||
# Seals - Program made for educational intent, can be freely distributed
|
||||
# and can be used for economical intent. I will not take legal actions
|
||||
# unless my intelectual propperty, the code, is stolen or change without permission.
|
||||
|
||||
# Copyright (C) 2020 VItor Hideyoshi Nakazone Batista
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as published by
|
||||
# the Free Software Foundation.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# 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.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
from .write import numpy as np
|
||||
from .write import pandas as pd
|
||||
BIN
Source Code - Seals/write/__pycache__/__init__.cpython-37.pyc
Normal file
BIN
Source Code - Seals/write/__pycache__/__init__.cpython-37.pyc
Normal file
Binary file not shown.
BIN
Source Code - Seals/write/__pycache__/write.cpython-37.pyc
Normal file
BIN
Source Code - Seals/write/__pycache__/write.cpython-37.pyc
Normal file
Binary file not shown.
33
Source Code - Seals/write/write.py
Normal file
33
Source Code - Seals/write/write.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# Seals - Program made for educational intent, can be freely distributed
|
||||
# and can be used for economical intent. I will not take legal actions
|
||||
# unless my intelectual propperty, the code, is stolen or change without permission.
|
||||
|
||||
# Copyright (C) 2020 VItor Hideyoshi Nakazone Batista
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License version 2 as published by
|
||||
# the Free Software Foundation.
|
||||
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
|
||||
# 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.,
|
||||
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
import csv
|
||||
|
||||
def numpy(array, path):
|
||||
|
||||
with open(path, mode='w') as sistema_linear:
|
||||
|
||||
solution_writer = csv.writer(sistema_linear, delimiter=',', quotechar='"', quoting=csv.QUOTE_MINIMAL)
|
||||
solution_writer.writerows(array)
|
||||
|
||||
return array
|
||||
|
||||
def pandas(df, path):
|
||||
|
||||
df.to_csv(path)
|
||||
Reference in New Issue
Block a user