You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When repeatedly calling query_unavailability_transmission with the same parameters, the returned DataFrame is not consistent. This happens even if the docstatus parameter is omitted (so it should default to returning Active + Cancelled outages).
snippet:
import pandas as pd
start = pd.Timestamp("2024-03-01 14:22", tz="Europe/Brussels")
end = pd.Timestamp("2024-09-05 15:15", tz="Europe/Brussels")
results = []
for i in range(10):
df = pd_client.query_unavailability_transmission(
country_code_from="FR",
country_code_to="CH",
start=start,
end=end
)
print(f"Run {i}: {len(df)} rows")
results.append(df)
# Compare differences
for i in range(len(results)-1):
print(results[i].equals(results[i+1]))