EDA Animales Domésticos
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import folium #needed for interactive map
from folium.plugins import HeatMap
pets =pd.read_excel('/content/drive/MyDrive/Covid UC/BASE DE DATOS ANIMALES DOMÉSTICOS_29-01-2021.xlsx',sheet_name='Hoja1')
pets['Conteo']=1
pets.head(3)
pets['MUNICIPIO'].value_counts(),pets['RESULTADO PCR'].value_counts()
/usr/local/lib/python3.7/dist-packages/pandas/core/indexing.py:670: SettingWithCopyWarning:
A value is trying to be set on a copy of a slice from a DataFrame
See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy
iloc._setitem_with_indexer(indexer, value)