InsightSSG / Net-Manage

Net-Manage is a repository for storing re-usable functions and playbooks for automation.
MIT License
4 stars 2 forks source link

parsers.palo_alto_parsers.py is generating an error #431

Closed ascension2020 closed 1 year ago

ascension2020 commented 1 year ago

/home/josh/source/repos/InsightSSG/Net-Manage/netmanage/parsers/palo_alto_parsers.py:140: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy df['subnet'] = result['subnet'] /home/josh/source/repos/InsightSSG/Net-Manage/netmanage/parsers/palo_alto_parsers.py:141: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy df['network_ip'] = result['network_ip'] /home/josh/source/repos/InsightSSG/Net-Manage/netmanage/parsers/palo_alto_parsers.py:142: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy df['broadcast_ip'] = result['broadcast_ip']