vopani / datatableton Goto Github PK
View Code? Open in Web Editor NEW100 exercises to learn Python Datatable
License: Apache License 2.0
100 exercises to learn Python Datatable
License: Apache License 2.0
Describe Issue
Using MAE for classification is non-standard.
Exercise / Set
Set 9
Suggested Fix
Use Logloss or AUC instead?
Describe Error
"Select the element in the 4th row and 2nd column in data
and assign it to value_1
..."
Provided solution:
value_1 = data[4, 3]
Exercise / Set
Exercise 25 / Set 3
Suggested Fix
Shouldn't it be like value_1 = data[3, 1]
or I'm missing something?
4th row considering numeration from 0 -> 3
2nd column considering numeration from 0 -> 1
Describe Error
There is a Typo at the end of both the exercise and solution notebook where Set 7
is inadvertently mentioned as Set 6
.
โ
This completes Set 6: Grouping Methods (Exercises 51-60) of DatatableTon: ๐ฏ datatable exercises
Set 6 is coming soon!
Exercise / Set
Set 6
Suggested Fix
โ
This completes Set 6: Grouping Methods (Exercises 51-60) of DatatableTon: ๐ฏ datatable exercises
Set 7 is coming soon!
Additional Comments
Any other information about the error.
Describe Error
It is asked in the task to find the mode for several columns.
The right answer is:
alcohol | proline
12.37 | 520.0
13.05 | 680.0
Because the mode is not necessarily unique to a given discrete distribution, the probability mass function may take the same maximum value at several points.
In this case, alcohol values are repeated 6 times and proline values are repeated 5 times.
Exercise / Set
Exercise 45 / Set 5
Suggested Fix
I don't know - maybe you can specify in the task that only the first value should be returned or the mode
function can be improved so it will return multiple values.
Describe Topic
Include an exercise to implement the qcut()
function in datatables which is a function for binning columns
Suggested Set
It can possibly be included in Set 5: Column Aggregations
Sample Exercise
Exercise : Create a new column B in frame data which contains deciles of column A
Solution : data['B'] = dt.qcut([dt.f.A])
The latest version of datatable, i.e., 1.0.0, fails to install in the Google Colaboratory environment. It throws the following error:
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/cli/base_command.py", line 153, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py", line 382, in run
resolver.resolve(requirement_set)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 201, in resolve
self._resolve_one(requirement_set, req)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 365, in _resolve_one
abstract_dist = self._get_abstract_dist_for(req_to_install)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/legacy_resolve.py", line 313, in _get_abstract_dist_for
req, self.session, self.finder, self.require_hashes
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 224, in prepare_linked_requirement
req, self.req_tracker, finder, self.build_isolation,
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/operations/prepare.py", line 49, in _get_prepared_distribution
abstract_dist.prepare_distribution_metadata(finder, build_isolation)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/distributions/source/legacy.py", line 37, in prepare_distribution_metadata
self._setup_isolation(finder)
File "/usr/local/lib/python3.7/dist-packages/pip/_internal/distributions/source/legacy.py", line 90, in _setup_isolation
reqs = backend.get_requires_for_build_wheel()
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/wrappers.py", line 152, in get_requires_for_build_wheel
'config_settings': config_settings
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/wrappers.py", line 255, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
File "/usr/local/lib/python3.7/dist-packages/pip/_vendor/pep517/_in_process.py", line 63, in _build_backend
obj = import_module(mod_path)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'ext'
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.