Untitled0.ipynb - Colaboratory2
Untitled0.ipynb - Colaboratory2
ipynb - Colaboratory
Notas de la versión
1 import pandas as pd
2 datos_consumo = pd.read_excel('datos.xlsx')
3
1 datos_consumo.head()
Queso
0 Desayuno 103 2.68
cottage
Papa
1 Comida 143 32.43
cocida
Galletas
2 Snack 120 23.10
Marias
Manzana
3 Snack 39 10.13
verde
1 datos_consumo.groupby("Momento").count()
Momento
Cena 75 75 75
Comida 75 75 75
Desayuno 75 75 75
Snack 78 78 78
1 datos_consumo.describe()
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 1/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 2/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
14 96 103.770459 -7.770459
Added an option to automatically
15 596 595.377280 0.622720
run the first cell or section,
16 77 73.550783 3.449217 available under Edit -> Notebook
settings (post)
17 296 293.367600 2.632400
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 4/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2023-06-23
Launched AI coding features to
subscribed users starting with
Pro+ users in the US (tweet, post)
Added the Kernel Selector in the
Notebook Settings (tweet)
Fixed double space trimming
issue in markdown #3766
Fixed run button indicator not
always centered #3609
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 5/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
typed (#3664)
Fixed rendering support for
compositional inputs (#3660,
#3679)
Fixed lag in notebooks with lots of
cells (#3676)
Improved support for R by adding
a Runtime type notebook setting
(Edit -> Notebook settings)
Improved documentation for
connecting to a local runtime
(Connect -> Connect to a local
runtime)
Python package updates:
holidays 0.23 -> 0.25
jax 0.4.8 -> 0.4.10
jaxlib 0.4.8 -> 0.4.10
pip 23.0.1 -> 23.1.2
tensorflow-probability
0.19.0 -> 0.20.1
torch 2.0.0 -> 2.0.1
torchaudio 2.0.1 -> 2.0.2
torchdata 0.6.0 -> 0.6.1
torchtext 0.15.1 -> 0.15.2
torchvision 0.15.1 -> 0.15.2
tornado 6.2 -> 6.3.1
2023-05-05
Released GPU type selection for
paid users, allowing them to
choose a preferred NVidia GPU
Upgraded R from 4.2.3 to 4.3.0
Upgraded Python from 3.9.16 to
3.10.11
Python package updates:
attrs 22.2.0 -> attrs 23.1.0
earthengine-api 0.1.349 ->
earthengine-api 0.1.350
flax 0.6.8 -> 0.6.9
grpcio 1.53.0 -> 1.54.0
nbclient 0.7.3 -> 0.7.4
tensorflow-datasets 4.8.3 ->
4.9.2
termcolor 2.2.0 -> 2.3.0
zict 2.2.0 -> 3.0.0
2023-04-14
Python package updates:
google-api-python-client
2.70.0 -> 2.84.0
google-auth-oauthlib 0.4.6 -
> 1.0.0
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 7/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
google-cloud-bigquery 3.4.2
-> 3.9.0
google-cloud-datastore
2.11.1 -> 2.15.1
google-cloud-firestore 2.7.3
-> 2.11.0
google-cloud-language
2.6.1 -> 2.9.1
google-cloud-storage 2.7.0
-> 2.8.0
google-cloud-translate
3.8.4 -> 3.11.1
networkx 3.0 -> 3.1
notebook 6.3.0 -> 6.4.8
jax 0.4.7 -> 0.4.8
pandas 1.4.4 -> 1.5.3
spacy 3.5.1 -> 3.5.2
SQLAlchemy 1.4.47 -> 2.0.9
xgboost 1.7.4 -> 1.7.5
2023-03-31
Improve bash ! syntax highlighting
(GitHub issue)
Fix bug where VIM keybindings
weren't working in the file editor
Upgraded R from 4.2.2 to 4.2.3
Python package updates:
arviz 0.12.1 --> 0.15.1
astropy 4.3.1 --> 5.2.2
dopamine-rl 1.0.5 --> 4.0.6
gensim 3.6.0 --> 4.3.1
ipykernel 5.3.4 -> 5.5.6
ipython 7.9.0 -> 7.34.0
jax 0.4.4 -> 0.4.7
jaxlib 0.4.4 -> 0.4.7
jupyter_core 5.2.0 -> 5.3.0
keras 2.11.0 -> 2.12.0
lightgbm 2.2.3 -> 3.3.5
matplotlib 3.5.3 -> 3.7.1
nltk 3.7 -> 3.8.1
opencv-python 4.6.0.66 ->
4.7.0.72
plotly 5.5.0 -> 5.13.1
pymc 4.1.4 -> 5.1.2
seaborn 0.11.2 -> 0.12.2
spacy 3.4.4 -> 3.5.1
sympy 1.7.1 -> 1.11.1
tensorboard 2.11.2 ->
2.12.0
tensorflow 2.11.0 -> 2.12.0
tensorflow-estimator 2.11.0
-> 2.12.0
tensorflow-hub 0.12.0 ->
0.13.0
torch 1.13.1 -> 2.0.0
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 8/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2023-03-10
Added the Colab editor shortcuts
example notebook
Fixed triggering of @-mention and
email autocomplete for large
comments (GitHub issue)
Added View Resources to the
Runtime menu
Made file viewer images fit the
view by default, resizing to origina
size on click
When in VIM mode, enable copy
as well as allowing propagation to
monaco-vim to escape visual
mode (GitHub issue)
Upgraded CUDA 11.6.2 -> 11.8.0
and cuDNN 8.4.0.27 -> 8.7.0.84
Upgraded Nvidia drivers
525.78.01 -> 530.30.02
Upgraded Python 3.8.10 -> 3.9.16
Python package updates:
beautifulsoup4 4.6.3 ->
4.9.3
bokeh 2.3.3 -> 2.4.3
debugpy 1.0.0 -> 1.6.6
Flask 1.1.4 -> 2.2.3
jax 0.3.25 -> 0.4.4
jaxlib 0.3.25 -> 0.4.4
Jinja2 2.11.3 -> 3.1.2
matplotlib 3.2.2 -> 3.5.3
nbconvert 5.6.1 -> 6.5.4
pandas 1.3.5 -> 1.4.4
pandas-datareader 0.9.0 ->
0.10.0
pandas-profiling 1.4.1 ->
3.2.0
Pillow 7.1.2 -> 8.4.0
plotnine 0.8.0 -> 0.10.1
scikit-image 0.18.3 ->
0.19.3
scikit-learn 1.0.2 -> 1.2.2
scipy 1.7.3 -> 1.10.1
setuptools 57.4.0 -> 63.4.3
sklearn-pandas 1.8.0 ->
2.2.0
statsmodels 0.12.2 ->
0.13.5
urllib3 1.24.3 -> 1.26.14
Werkzeug 1.0.1 -> 2.2.3
wrapt 1.14.1 -> 1.15.0
xgboost 0.90 -> 1.7.4
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 9/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2023-02-17
Show graphs of RAM and disk
usage in notebook toolbar
Copy cell links directly to the
clipboard instead of showing a
dialog when clicking on the link
icon in the cell toolbar
Updated the Colab Marketplace
VM image
Upgraded CUDA to 11.6.2 and
cuDNN to 8.4.0.27
Python package updates:
tensorflow 2.9.2 -> 2.11.0
tensorboard 2.9.1 -> 2.11.2
keras 2.9.0 -> 2.11.0
tensorflow-estimator 2.9.0 -
> 2.11.0
tensorflow-probability
0.17.0 -> 0.19.0
tensorflow-gcs-config 2.9.0
-> 2.11.0
earthengine-api 0.1.339 ->
0.1.341
flatbuffers 1.12 -> 23.1.21
platformdirs 2.6.2 -> 3.0.0
pydata-google-auth 1.6.0 ->
1.7.0
python-utils 3.4.5 -> 3.5.2
tenacity 8.1.0 -> 8.2.1
tifffile 2023.1.23.1 ->
2023.2.3
notebook 5.7.16 -> 6.3.0
tornado 6.0.4 -> 6.2
aiohttp 3.8.3 -> 3.8.4
charset-normalizer 2.1.1 ->
3.0.1
fastai 2.7.0 -> 2.7.1
soundfile 0.11.0 -> 0.12.1
typing-extensions 4.4.0 ->
4.5.0
widgetsnbextension 3.6.1 -
> 3.6.2
pydantic 1.10.4 -> 1.10.5
zipp 3.12.0 -> 3.13.0
numpy 1.21.6 -> 1.22.4
drivefs 66.0 -> 69.0
gdal 3.0.4 -> 3.3.2 GitHub
issue
Added libudunits2-dev for
smoother R package installs
GitHub issue
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 10/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2023-02-03
Improved tooltips for pandas
series to show common statistics
about the series object
Made the forms dropdown behave
like an autocomplete box when it
allows input
Updated the nvidia driver from
460.32.03 to 510.47.03
Python package updates:
absl-py 1.3.0 -> 1.4.0
bleach 5.0.1 -> 6.0.0
cachetools 5.2.1 -> 5.3.0
cmdstanpy 1.0.8 -> 1.1.0
dnspython 2.2.1 -> 2.3.0
fsspec 2022.11.0 ->
2023.1.0
google-cloud-bigquery-
storage 2.17.0 -> 2.18.1
holidays 0.18 -> 0.19
jupyter-core 5.1.3 -> 5.2.0
packaging 21.3 -> 23.0
prometheus-client 0.15.0 ->
0.16.0
pyct 0.4.8 -> 0.5.0
pydata-google-auth 1.5.0 ->
1.6.0
python-slugify 7.0.0 -> 8.0.0
sqlalchemy 1.4.46 -> 2.0.0
tensorflow-io-gcs-
filesystem 0.29.0 -> 0.30.0
tifffile 2022.10.10 ->
2023.1.23.1
zipp 3.11.0 -> 3.12.0
Pinned sqlalchemy to
version 1.4.46
2023-01-12
Added support for @-mention and
email autocomplete in comments
Improved errors when GitHub
notebooks can't be loaded
Increased color contrast for
colors used for syntax
highlighting in the code editor
Added terminal access for
custom GCE VM runtimes
Upgraded Ubuntu from 18.04 LTS
to 20.04 LTS (GitHub issue)
Python package updates:
GDAL 2.2.2 -> 2.2.3.
NumPy from 1.21.5 to
1.21.6.
attrs 22.1.0 -> 22.2.0
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 11/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-12-06
Made fallback runtime version
available until mid-December
(GitHub issue)
Upgraded to Python 3.8 (GitHub
issue)
Python package updates:
jax from 0.3.23 to 0.3.25,
jaxlib from 0.3.22 to 0.3.25
pyarrow from 6.0.1 to 9.0.0
torch from 1.12.1 to 1.13.0
torchaudio from 0.12.1 to
0.13.0
torchvision from 0.13.1 to
0.14.0
torchtext from 0.13.1 to
0.14.0
xlrd from 1.1.0 to 1.2.0
DriveFS from 62.0.1 to
66.0.3
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 12/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-11-11
Added more dark editor themes
for Monaco (when in dark mode,
"Editor colorization" appears as an
option in the Editor tab of the
Tools → Settings dialog)
Fixed bug where collapsed forms
were deleted on mobile GitHub
issue
Python package updates:
rpy2 from 3.4.0 to 3.5.5
(GitHub issue)
notebook from 5.5.0 to
5.7.16
tornado from 5.1.1 to 6.0.4
tensorflow_probability from
0.16.0 to 0.17.0
pandas-gbq from 0.13.3 to
0.17.9
protobuf from 3.17.3 to
3.19.6
google-api-core[grpc] from
1.31.5 to 2.8.2
google-cloud-bigquery from
1.21.0 to 3.3.5
google-cloud-core from
1.0.1 to 2.3.2
google-cloud-datastore
from 1.8.0 to 2.9.0
google-cloud-firestore from
1.7.0 to 2.7.2
google-cloud-language
from 1.2.0 to 2.6.1
google-cloud-storage from
1.18.0 to 2.5.0
google-cloud-translate from
1.5.0 to 3.8.4
2022-10-21
Launched a single-click way to get
from BigQuery to Colab to further
explore query results
(announcement)
Launched Pro, Pro+, and Pay As
You Go to 19 additional countries:
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 13/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-09-30
Launched Pay As You Go,
allowing premium GPU access
without requiring a subscription
Added vim and tcllib to our
runtime image
Fixed bug where open files were
closed on kernel disconnect
(GitHub issue)
Fixed bug where the play
button/execution indicator was
not clickable when scrolled into
the cell output (GitHub issue)
Updated the styling for form titles
so that they avoid obscuring the
code editor
Created a GitHub repo, backend-
info, with the latest apt-list.txt and
pip-freeze.txt files for the Colab
runtime (GitHub issue)
Added
files.upload_file(filename)
to upload a file from the browser
to the runtime with a specified
filename
2022-09-16
Upgraded pymc from 3.11.0 to
4.1.4, jax from 0.3.14 to 0.3.17,
jaxlib from 0.3.14 to 0.3.15,
fsspec from 2022.8.1 to 2022.8.2
Modified our save flow to avoid
persisting Drive filenames as titles
in notebook JSON
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 14/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-08-26
Upgraded PyYAML from 3.13 to
6.0 (GitHub issue), drivefs from
61.0.3 to 62.0.1
Upgraded TensorFlow from 2.8.2
to 2.9.1 and ipywidgets from 7.7.1
to 8.0.1 but rolled both back due
to a number of user reports
(GitHub issue, GitHub issue)
Stop persisting inferred titles in
notebook JSON (GitHub issue)
Fix bug in background execution
which affected some Pro+ users
(GitHub issue)
Fix bug where Download as .py
incorrectly handled text cells
ending in a double quote
Fix bug for Pro and Pro+ users
where we weren't honoring the
preference (Tools → Settings) to
use a temporary scratch notebook
as the default landing page
Provide undo/redo for scratch
cells
When writing ipynb files, serialize
empty multiline strings as [] for
better consistency with
JupyterLab
2022-08-11
Upgraded ipython from 5.5.0 to
7.9.0, fbprophet 0.7 to prophet
1.1, tensorflow-datasets from
4.0.1 to 4.6.0, drivefs from 60.0.2
to 61.0.3, pytorch from 1.12.0 to
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 15/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-07-22
Update scipy from 1.4.1 to 1.7.3,
drivefs from 59.0.3 to 60.0.2,
pytorch from 1.11 to 1.12, jax &
jaxlib from 0.3.8 to 0.3.14,
opencv-python from 4.1.2.30 to
4.6.0.66, spaCy from 3.3.1 to
3.4.0, and dlib from 19.18.0 to
19.24.0
Fix Open in tab doc link which
was rendering incorrectly (GitHub
issue)
Add a preference for the default
tab orientation to the Site section
of the settings menu under Tools
→ Settings
Show a warning for
USE_AUTH_EPHEM usage when
running authenticate_user on a
TPU runtime (code)
2022-07-01
Add a preference for code font to
the settings menu under Tools →
Settings
Update drivefs from 58.0.3 to
59.0.3 and spacy from 2.2.4 to
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 16/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
3.3.1
Allow display_data and
execute_result text outputs to
wrap, matching behavior of
JupyterLab (does not affect
stream outputs/print statements).
Improve LSP handling of some
magics, esp. %%writefile (GitHub
issue).
Add a FAQ entry about the mount
Drive button behavior and include
link buttons for each FAQ entry.
Fix bug where the notebook was
sometimes hidden behind other
tabs on load when in single pane
view.
Fix issue with inconsistent
scrolling when an editor is in
multi-select mode.
Fix bug where clicking on a link in
a form would navigate away from
the notebook
Show a confirmation dialog
before performing Replace all
from the Find and replace pane.
2022-06-10
Update drivefs from 57.0.5 to
58.0.3 and tensorflow from 2.8.0
to 2.8.2
Support more than 100 repos in
the GitHub repo selector shown in
the open dialog and the clone to
GitHub dialog
Show full notebook names on
hover in the open dialog
Improve the color contrast for
links, buttons, and the
ipywidgets.Accordion widget
in dark mode
2022-05-20
Support URL params for linking to
some common pref settings:
force_theme=dark,
force_corgi_mode=1,
force_font_size=14. Params
forced by URL are not persisted
unless saved using Tools →
Settings.
Add a class markdown-google-
sans to allow Markdown to render
in Google Sans
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 17/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-04-29
Added 🦀 mode (under
Miscellaneous in Tools →
Settings)
Added "Disconnect and delete
runtime" option to the menu next
to the Connect button
Improved rendering of filter
options in an interactive table
Added git-lfs to the base image
Updated torch from 1.10.0 to
1.11.0, jupyter-core from 4.9.2 to
4.10.0, and cmake from 3.12.0 to
3.22.3
Added more details to our FAQ
about unsupported uses (using
proxies, downloading torrents,
etc.)
Fixed issue with apt-get
dependencies
2022-04-15
Add an option in the file browser
to show hidden files.
Upgrade gdown from 4.2.0 to
4.4.0, google-api-core[grpc] from
1.26.0 to 1.31.5, and pytz from
2018.4 to 2022.1
2022-03-25
Launched Pro/Pro+ to 12
additional countries: Australia,
Bangladesh, Colombia, Hong
Kong, Indonesia, Mexico, New
Zealand, Pakistan, Philippines,
Singapore, Taiwan, and Vietnam
Added
google.colab.auth.authentica
to support using Service Account
keys
Update jax from 0.3.1 to 0.3.4 &
jaxlib from 0.3.0 to 0.3.2
Fixed an issue with Twitter
previews of notebooks shared as
Github Gists
2022-03-10
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 18/19
10/11/23, 7:59 Untitled0.ipynb - Colaboratory
2022-02-25
https://colab.research.google.com/drive/1OjplrtlTWXJ-SagYuuOe7K9S3-0izRZA?authuser=1#scrollTo=8TdOMgB2ugdG&printMode=true 19/19