Comments (2)
Shlex is problematic because it doesn't work with unicode in python 2.7
>>>shlex.split(u'asdf bb')
['a\x00\x00\x00s\x00\x00\x00d\x00\x00\x00f\x00\x00\x00',
'\x00\x00\x00b\x00\x00\x00b\x00\x00\x00']
I'm fixing it using next(csv.reader(['line']))
Original comment by [email protected]
on 7 May 2012 at 8:45
from arff.
http://code.google.com/p/arff/source/detail?r=3c1009d3d32f895199d40cdb8b04c93711
faa5c8
Original comment by [email protected]
on 7 May 2012 at 9:08
- Changed state: Fixed
from arff.
Related Issues (13)
- Need sparse format support HOT 4
- Pull request from https://bitbucket.org/sirex/arff HOT 2
- Support for loading open file pointers / gzip file pointers HOT 1
- Feature Request
- Patch for /arff/__init__.py
- attribute with name class is not parsable HOT 1
- Attribute type specification should be case insensitive HOT 1
- Relation definition does not support relation name with spaces HOT 1
- Empty lines and python keywords parsing HOT 1
- Failure to load iris.arff due to whitespace
- Row class should support negative indexes and slice syntax
- -1 Index HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arff.