Giter VIP home page Giter VIP logo

pyfim's People

Contributors

schlegelp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ping543f

pyfim's Issues

Is it possible to merge csv files?

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?

Unable to install due to encoding error

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.