mindsdb / mindsdb-docs-old

Current MindsDB Docs are migrated to MindsDB repository
https://docs.mindsdb.com/
MIT License
39 stars 39 forks source link

Update mindsdb_native examples #156

Closed endast closed 3 years ago

endast commented 3 years ago

This fixes some typos in the examples in the documentation so that the examples are runnable. Mostly just renames mindsdb to mindsdb_native, also removed some unused (not existing) variables and imports.

Result if you try the code in the existing documentation:

Python 3.7.8 (default, Jul 16 2020, 22:30:43) 
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mindsdb
 ✓ telemetry enabled 
>>> mindsdb.__version__
'2.35.0'
>>> from mindsdb import Predictor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: cannot import name 'Predictor' from 'mindsdb'