Skip to content

Commit

Permalink
Fix pandas deprecation warning (#1189)
Browse files Browse the repository at this point in the history
  • Loading branch information
keyuxing committed Apr 8, 2022
1 parent b709aeb commit ad1ddae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lightkurve/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ def _query_solar_system_objects(
if df is None:
df = res
else:
df = df.append(res)
df = pd.concat([df, res])
if df is not None:
df.reset_index(drop=True)
return df
Expand Down

0 comments on commit ad1ddae

Please sign in to comment.