schlegelp / pyfim Goto Github PK
View Code? Open in Web Editor NEWPython package for analysis of FIMTrack data
License: GNU General Public License v3.0
Python package for analysis of FIMTrack data
License: GNU General Public License v3.0
Hello, I want to use this package for my masters thesis.
In the description it said, that it is possible to Merge individual files into experiments but I was not able to find out how. I tried merging csv files into one combined file with: (found online)
extension = 'csv'
all_filenames = [i for i in glob.glob('*.{}'.format(extension))]
#combine all files in the list
combined_csv = pd.concat([pd.read_csv(f) for f in all_filenames ])
#export to csv
combined_csv.to_csv( "combined_csv.csv", index=False, encoding='utf-8-sig')
But it didnt work out because I found a different amount of objects in my pyfim experiment after that. Also the csv files were only like stacked on top of each other and I don't think they are usable in that way.
Is there another way, to merge objects from different csv files into one experiment?
I was unable to install the package because of the following error:
"ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-fbtj6z7y/setup.py'"'"'; file='"'"'/tmp/pip-req-build-fbtj6z7y/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: /tmp/pip-req-build-fbtj6z7y/
Complete output (7 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-fbtj6z7y/setup.py", line 21, in
long_description=open('README.md').read(),
File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 806: ordinal not in range(128)"
I was able to fix it by downloading the source and changing the following line of the setup.py:
long_description=open('README.md').read(),
by:
long_description=codecs.open('README.md',encoding='utf-8').read(),
This required to import the codecs library in the setup.py script as well.
Also, in the distribution that I downloaded (pyfim-0.2.tar.gz) I had to rename the file PKG-INFO
to README.md
for the setup.py to properly work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.